diff --git a/js/ui/panelMenu.js b/js/ui/panelMenu.js index 44e2078b8..151f35afa 100644 --- a/js/ui/panelMenu.js +++ b/js/ui/panelMenu.js @@ -28,7 +28,7 @@ Button.prototype = { this.menu.actor.add_style_class_name('panel-menu'); this.menu.connect('open-state-changed', Lang.bind(this, this._onOpenStateChanged)); this.menu.actor.connect('key-press-event', Lang.bind(this, this._onMenuKeyPress)); - Main.layoutManager.addChrome(this.menu.actor); + Main.uiGroup.add_actor(this.menu.actor); this.menu.actor.hide(); },