appDisplay: Remove stack from AppDisplay
The stack widget once was a ShellStack and had a prominent role in layouting AppDisplay, but after a series of reworks it's now effectively unused, and can be safely removed. Remove the '_stack' widget from AppDisplay. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2335>
This commit is contained in:
parent
29601b84d4
commit
1fb570b415
@ -1336,13 +1336,7 @@ class AppDisplay extends BaseAppView {
|
|||||||
this._pageManager = new PageManager();
|
this._pageManager = new PageManager();
|
||||||
this._pageManager.connect('layout-changed', () => this._redisplay());
|
this._pageManager.connect('layout-changed', () => this._redisplay());
|
||||||
|
|
||||||
this._stack = new St.Widget({
|
this.add_child(this._box);
|
||||||
layout_manager: new Clutter.BinLayout(),
|
|
||||||
x_expand: true,
|
|
||||||
y_expand: true,
|
|
||||||
});
|
|
||||||
this.add_actor(this._stack);
|
|
||||||
this._stack.add_child(this._box);
|
|
||||||
|
|
||||||
this._folderIcons = [];
|
this._folderIcons = [];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user