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
This commit is contained in:
Florian Müllner
2020-01-09 20:15:52 +01:00
parent 37a09b7be1
commit 0500480d75
+2 -2
View File
@@ -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(