chrome: drop visibleInOverview

Every place that called chrome.addActor was specifying
visibleInOverview:true, and no existing designs call for chrome that
disappears when you enter the overview, so just drop that as an
option.

https://bugzilla.gnome.org/show_bug.cgi?id=633620
This commit is contained in:
Dan Winship
2011-06-10 11:01:19 -04:00
parent bfec396ec2
commit 82a8ac1976
4 changed files with 12 additions and 22 deletions

View File

@ -26,8 +26,7 @@ Button.prototype = {
this.menu = new PopupMenu.PopupMenu(this.actor, menuAlignment, St.Side.TOP, 0);
this.menu.connect('open-state-changed', Lang.bind(this, this._onOpenStateChanged));
this.menu.actor.connect('key-press-event', Lang.bind(this, this._onMenuKeyPress));
Main.chrome.addActor(this.menu.actor, { visibleInOverview: true,
affectsStruts: false });
Main.chrome.addActor(this.menu.actor, { affectsStruts: false });
this.menu.actor.hide();
},