[gnome-shell] appDisplay: Remove stack from AppDisplay
- From: Robert Mader <rmader src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] appDisplay: Remove stack from AppDisplay
- Date: Wed, 10 Aug 2022 15:28:50 +0000 (UTC)
commit 1fb570b415f88a97982b390c616fe553c7fe00d6
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Wed Jun 8 11:32:58 2022 -0300
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>
js/ui/appDisplay.js | 8 +-------
1 file changed, 1 insertion(+), 7 deletions(-)
---
diff --git a/js/ui/appDisplay.js b/js/ui/appDisplay.js
index 3bf9a27e20..b0f85f377f 100644
--- a/js/ui/appDisplay.js
+++ b/js/ui/appDisplay.js
@@ -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 = [];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]