[gnome-shell-extensions] window-list: Stop using deprecated child properties



commit 0500480d75c6793467c04f2336cd3274019b34a4
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu Jan 9 20:15:52 2020 +0100

    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 b36c9e8..5456a47 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(


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]