From e5a0616a0a47d34cc753aa20aa633ff0d24f0ff7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Wed, 10 Oct 2018 16:22:27 +0200 Subject: [PATCH] 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 b196334d..94747b17 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();