Reorganize stage in terms of a UI Group actor and everything else

In preparation for adding magnification, "uiGroup.patch", organizes the stage
along the following lines:

Stage
  *Magnifier
  UI group
    Window group
    Chrome group
    Overlay group
    Alt tab
    App display
    Chrome
    ...

This allows a magnifier actor to clone and magnify the UI group.  The magnifier
is a sibling of the UI Group in this stage oraganization -- see the next patch,
"Magnifier.patch".
This commit is contained in:
Joseph Scheuhammer
2010-05-06 17:18:10 -04:00
committed by Colin Walters
parent 37692513cf
commit 62afd2ffa3
9 changed files with 18 additions and 9 deletions

View File

@ -213,7 +213,7 @@ RunDialog.prototype = {
// hidden then show it in show()
this._group = new Clutter.Group({ visible: false,
x: 0, y: 0 });
global.stage.add_actor(this._group);
Main.uiGroup.add_actor(this._group);
let lightbox = new Lightbox.Lightbox(this._group, true);