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:
Georges Basile Stavracas Neto 2022-06-08 11:32:58 -03:00 committed by Marge Bot
parent 29601b84d4
commit 1fb570b415

View File

@ -1336,13 +1336,7 @@ class AppDisplay extends BaseAppView {
this._pageManager = new PageManager();
this._pageManager.connect('layout-changed', () => this._redisplay());
this._stack = new St.Widget({
layout_manager: new Clutter.BinLayout(),
x_expand: true,
y_expand: true,
});
this.add_actor(this._stack);
this._stack.add_child(this._box);
this.add_child(this._box);
this._folderIcons = [];