[gnome-shell] panelMenu: Separate from ui chrome layer
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] panelMenu: Separate from ui chrome layer
- Date: Mon, 29 Aug 2011 16:17:19 +0000 (UTC)
commit 388cfa36958cd86dff81331aec394efa7773677f
Author: Ray Strode <rstrode redhat com>
Date: Sat Aug 27 23:44:04 2011 -0400
panelMenu: Separate from ui chrome layer
The chrome layer contains the user interface elements (e.g.,
the panel) that disappear when fullscreen windows get displayed.
Panel menus are currently put in the chrome layer, but don't need
to be, since they are only displayed when the user is interacting
with the shell and not a fullscreen application.
Putting panel menus in the chrome layer does mean they will get
stacked below shell interface elements that aren't in the chrome layer,
though.
This commit changes panel menus to be on the same layer as most other
shell elements, so they get properly stacked above those elements.
https://bugzilla.gnome.org/show_bug.cgi?id=657082
js/ui/panelMenu.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/js/ui/panelMenu.js b/js/ui/panelMenu.js
index 44e2078..151f35a 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();
},
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]