From b1791951cb8131f77982273ae782d8137f684b33 Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Tue, 5 Jan 2010 11:24:21 -0500 Subject: [PATCH] rebase fail. fix ef49ada57510ad386cabe6d09bb8f7e7cb9bf67b --- js/ui/messageTray.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js index 39ccc7663..be21c4245 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;