From 0500480d75c6793467c04f2336cd3274019b34a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 9 Jan 2020 20:15:52 +0100 Subject: [PATCH] window-list: Stop using deprecated child properties StBoxLayout's child properties were deprecated in favor of the generic expand/align properties. https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/102 --- extensions/window-list/extension.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/extensions/window-list/extension.js b/extensions/window-list/extension.js index b36c9e80..5456a470 100644 --- a/extensions/window-list/extension.js +++ b/extensions/window-list/extension.js @@ -701,7 +701,7 @@ class WindowList extends St.Widget { x_expand: true, y_expand: true, }); - box.add(this._windowList, { expand: true }); + box.add_child(this._windowList); this._windowList.connect('style-changed', () => { let node = this._windowList.get_theme_node(); @@ -714,7 +714,7 @@ class WindowList extends St.Widget { box.add(indicatorsBox); this._workspaceIndicator = new WorkspaceIndicator(); - indicatorsBox.add(this._workspaceIndicator.container, { expand: false, y_fill: true }); + indicatorsBox.add_child(this._workspaceIndicator.container); this._mutterSettings = new Gio.Settings({ schema_id: 'org.gnome.mutter' }); this._workspacesOnlyOnPrimaryChangedId = this._mutterSettings.connect(