diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index 17a5a911a..fbe409ee2 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -394,10 +394,10 @@ const PopupImageMenuItem = new Lang.Class({ _init: function (text, icon, params) { this.parent(params); - this.label = new St.Label({ text: text }); - this.actor.add_child(this.label); this._icon = new St.Icon({ style_class: 'popup-menu-icon' }); this.actor.add_child(this._icon, { align: St.Align.END }); + this.label = new St.Label({ text: text }); + this.actor.add_child(this.label); this.actor.label_actor = this.label; this.setIcon(icon);