popupMenu: Set ImageMenuItem's label-actor
While we don't use image menu items ourselves, extensions might, so make sure they are accessible out of the box. Spotted by Jay Strict.
This commit is contained in:
parent
409f6718b8
commit
3bbe74d1c1
@ -396,6 +396,7 @@ const PopupImageMenuItem = new Lang.Class({
|
||||
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.actor.label_actor = this.label;
|
||||
|
||||
this.setIcon(iconName);
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user