popupMenu: Fix PopupImageMenuItem

https://bugzilla.gnome.org/show_bug.cgi?id=733540
This commit is contained in:
Javier Hernández 2014-07-23 10:24:18 +02:00
parent cceac0d8fb
commit eba2b999ed

View File

@ -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);
},