Main: move the stage hierarchy initialization to LayoutManager
It is cleaner to concentrate all layout and chrome management in one place, instead of having it scattered around the codebase. https://bugzilla.gnome.org/show_bug.cgi?id=682429
This commit is contained in:

committed by
Ray Strode

parent
4dc9540325
commit
33dde63256
@ -644,7 +644,7 @@ const ActivitiesButton = new Lang.Class({
|
||||
|
||||
this.actor.label_actor = this._label;
|
||||
|
||||
this.hotCorner = new Layout.HotCorner();
|
||||
this.hotCorner = new Layout.HotCorner(Main.layoutManager);
|
||||
container.add_actor(this.hotCorner.actor);
|
||||
|
||||
this.actor.connect('captured-event', Lang.bind(this, this._onCapturedEvent));
|
||||
|
Reference in New Issue
Block a user