[gnome-shell/wip/message-tray: 1/2] messageTray: fix incorrect member name



commit 16119e7b862515ae6d26d86e307b37e40d9ab36d
Author: Owen W. Taylor <otaylor fishsoup net>
Date:   Fri Aug 17 16:41:01 2012 -0400

    messageTray: fix incorrect member name
    
    this.ICON_SIZE should have been this.SOURCE_ICON_SIZE.

 js/ui/messageTray.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/messageTray.js b/js/ui/messageTray.js
index a861c4c..59910b6 100644
--- a/js/ui/messageTray.js
+++ b/js/ui/messageTray.js
@@ -1045,9 +1045,9 @@ const Source = new Lang.Class({
             return false;
 
         if (!icon)
-            icon = this.createIcon(this.ICON_SIZE);
+            icon = this.createIcon(this.SOURCE_ICON_SIZE);
 
-        this._mainIcon = new SourceActor(this, this.ICON_SIZE);
+        this._mainIcon = new SourceActor(this, this.SOURCE_ICON_SIZE);
         this._mainIcon.setIcon(icon);
         return true;
     },



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