[gnome-shell-extensions/wip/fmuellner/fix-113-master: 10/17] places-menu: Stop using compatibility actor property
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions/wip/fmuellner/fix-113-master: 10/17] places-menu: Stop using compatibility actor property
- Date: Mon, 12 Nov 2018 23:42:58 +0000 (UTC)
commit e5a0616a0a47d34cc753aa20aa633ff0d24f0ff7
Author: Florian Müllner <fmuellner gnome org>
Date: Wed Oct 10 16:22:27 2018 +0200
places-menu: Stop using compatibility actor property
PanelMenu.Button sets up a `this.actor = this` property for compatibility,
but let's reflect the actual new object hierarchy.
https://gitlab.gnome.org/GNOME/gnome-shell-extensions/issues/113
extensions/places-menu/extension.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/extensions/places-menu/extension.js b/extensions/places-menu/extension.js
index b196334..94747b1 100644
--- a/extensions/places-menu/extension.js
+++ b/extensions/places-menu/extension.js
@@ -86,7 +86,7 @@ class PlacesMenu extends PanelMenu.Button {
y_align: Clutter.ActorAlign.CENTER });
hbox.add_child(label);
hbox.add_child(PopupMenu.arrowIcon(St.Side.BOTTOM));
- this.actor.add_actor(hbox);
+ this.add_actor(hbox);
this.placesManager = new PlaceDisplay.PlacesManager();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]