layout: add chrome actors directly to uiGroup

Rather than having a single chrome layer and putting all of the chrome
into that, put the chrome actors directly into uiGroup, so that they
can be stacked independently of one another relative to other actors.

(This requires making uiGroup a ShellGenericContainer, so we can use
skip_paint to avoid painting non-visibleInFullscreen chrome when we're
in fullscreen.)

https://bugzilla.gnome.org/show_bug.cgi?id=657986
This commit is contained in:
Dan Winship
2011-09-01 10:20:52 -04:00
parent cbb3831c7b
commit e79c093d80
3 changed files with 40 additions and 31 deletions

View File

@ -974,7 +974,7 @@ LookingGlass.prototype = {
this._notebook.selectIndex(0);
this.actor.show();
this.actor.lower_bottom();
this.actor.lower(Main.layoutManager.panelBox);
this._open = true;
this._history.lastItem();
@ -1005,7 +1005,7 @@ LookingGlass.prototype = {
Main.popModal(this._entry);
this.actor.lower_bottom();
this.actor.lower(Main.layoutManager.panelBox);
Tweener.addTween(this.actor, { time: 0.5 / St.get_slow_down_factor(),
transition: 'easeOutQuad',
y: this._hiddenY,