[gnome-shell] popupMenu: Fix PopupImageMenuItem



commit eba2b999ed33bb9c77846071bd7e96b140e02b13
Author: Javier Hernández <jhernandez emergya com>
Date:   Wed Jul 23 10:24:18 2014 +0200

    popupMenu: Fix PopupImageMenuItem
    
    https://bugzilla.gnome.org/show_bug.cgi?id=733540

 js/ui/popupMenu.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js
index c9c54c8..36d7f84 100644
--- a/js/ui/popupMenu.js
+++ b/js/ui/popupMenu.js
@@ -378,9 +378,9 @@ const PopupImageMenuItem = new Lang.Class({
         this.parent(params);
 
         this.label = new St.Label({ text: text });
-        this.addActor(this.label);
+        this.actor.add_child(this.label);
         this._icon = new St.Icon({ style_class: 'popup-menu-icon' });
-        this.addActor(this._icon, { align: St.Align.END });
+        this.actor.add_child(this._icon, { align: St.Align.END });
 
         this.setIcon(iconName);
     },


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