[gnome-shell] popupMenu: Set ImageMenuItem's label-actor
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] popupMenu: Set ImageMenuItem's label-actor
- Date: Wed, 23 Sep 2015 12:21:37 +0000 (UTC)
commit 3bbe74d1c1086d1beb97cfc8c9198bb654cd20e6
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Sep 23 14:16:31 2015 +0200
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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/popupMenu.js b/js/ui/popupMenu.js
index c10be71..05f82b8 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);
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]