From 3bbe74d1c1086d1beb97cfc8c9198bb654cd20e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 23 Sep 2015 14:16:31 +0200 Subject: [PATCH] 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. --- js/ui/popupMenu.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js index c10be71f7..05f82b8ef 100644 --- a/js/ui/popupMenu.js +++ b/js/ui/popupMenu.js @@ -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); },