From 60ad2e37fff041fe04a3de6290489b770b83979c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Thu, 28 May 2020 02:24:26 +0200 Subject: [PATCH] window-list: Stop using obsolete StBin properties Those properties were deprecated (and made no-ops) last cycle, and have now been removed altogether. https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/122 --- extensions/window-list/extension.js | 4 ---- extensions/window-list/windowPicker.js | 2 -- extensions/window-list/workspaceIndicator.js | 2 -- 3 files changed, 8 deletions(-) diff --git a/extensions/window-list/extension.js b/extensions/window-list/extension.js index 2c9dcf4a..090e6356 100644 --- a/extensions/window-list/extension.js +++ b/extensions/window-list/extension.js @@ -220,8 +220,6 @@ const BaseButton = GObject.registerClass({ super._init({ style_class: 'window-button', - x_fill: true, - y_fill: true, can_focus: true, button_mask: St.ButtonMask.ONE | St.ButtonMask.THREE, }); @@ -491,8 +489,6 @@ class AppButton extends BaseButton { this._singleWindowTitle = new St.Bin({ x_expand: true, - y_fill: true, - x_align: St.Align.START, }); stack.add_actor(this._singleWindowTitle); diff --git a/extensions/window-list/windowPicker.js b/extensions/window-list/windowPicker.js index 59b2e902..b485d5cb 100644 --- a/extensions/window-list/windowPicker.js +++ b/extensions/window-list/windowPicker.js @@ -286,8 +286,6 @@ class WindowPickerToggle extends St.Button { style_class: 'window-picker-toggle', child: iconBin, visible: !Main.sessionMode.hasOverview, - x_fill: true, - y_fill: true, toggle_mode: true, }); diff --git a/extensions/window-list/workspaceIndicator.js b/extensions/window-list/workspaceIndicator.js index 1617efeb..eafe2411 100644 --- a/extensions/window-list/workspaceIndicator.js +++ b/extensions/window-list/workspaceIndicator.js @@ -106,8 +106,6 @@ class WorkspaceThumbnail extends St.Button { layout_manager: new Clutter.BinLayout(), clip_to_allocation: true, }), - x_fill: true, - y_fill: true, }); this.connect('destroy', this._onDestroy.bind(this));