[gnome-shell/message-tray] rebase fail. fix ef49ada57510ad386cabe6d09bb8f7e7cb9bf67b



commit b1791951cb8131f77982273ae782d8137f684b33
Author: Dan Winship <danw gnome org>
Date:   Tue Jan 5 11:24:21 2010 -0500

    rebase fail. fix ef49ada57510ad386cabe6d09bb8f7e7cb9bf67b

 js/ui/messageTray.js |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index 39ccc76..be21c42 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -14,6 +14,8 @@ const NOTIFICATION_TIMEOUT = 4;
 
 const MESSAGE_TRAY_TIMEOUT = 0.2;
 
+const ICON_SIZE = 24;
+
 function Notification() {
     this._init();
 }
@@ -97,7 +99,7 @@ Source.prototype = {
     },
 
     notify: function(text) {
-        Main.notificationPopup.show(this.createIcon(), text);
+        Main.notificationPopup.show(this.createIcon(ICON_SIZE), text);
     },
 
     clicked: function() {
@@ -152,7 +154,7 @@ MessageTray.prototype = {
         }
 
         let iconBox = new St.Bin({ reactive: true });
-        iconBox.child = source.createIcon();
+        iconBox.child = source.createIcon(ICON_SIZE);
         this._tray.insert_actor(iconBox, 0);
         this._icons[source.id] = iconBox;
         this._sources[source.id] = source;



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