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



commit 28ae95814d1571a1043d6859dbc3237b6d4c4ef4
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 50d3dac..a1b73dd 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]