[gnome-shell] messageTray: don't force a size on SourceActor's iconBin



commit b7e1539699efbac4eceedf80e8073ff54aadaf38
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Mon Feb 17 21:03:09 2014 -0800

    messageTray: don't force a size on SourceActor's iconBin
    
    Supports hidpi icons this way.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=724607

 js/ui/messageTray.js |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index 68a2257..1e54297 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -1162,9 +1162,7 @@ const SourceActor = new Lang.Class({
         }));
         this._actorDestroyed = false;
 
-        this._iconBin = new St.Bin({ width: size,
-                                     height: size,
-                                     x_fill: true,
+        this._iconBin = new St.Bin({ x_fill: true,
                                      y_fill: true });
 
         this.actor.add_actor(this._iconBin);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]