From eba2b999ed33bb9c77846071bd7e96b140e02b13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javier=20Hern=C3=A1ndez?= Date: Wed, 23 Jul 2014 10:24:18 +0200 Subject: [PATCH] popupMenu: Fix PopupImageMenuItem https://bugzilla.gnome.org/show_bug.cgi?id=733540 --- js/ui/popupMenu.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index c9c54c84a..36d7f845e 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); },