[gnome-shell-extensions] window-list: Stop using obsolete StBin properties



commit 60ad2e37fff041fe04a3de6290489b770b83979c
Author: Florian Müllner <fmuellner gnome org>
Date:   Thu May 28 02:24:26 2020 +0200

    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 2c9dcf4..090e635 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 59b2e90..b485d5c 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 1617efe..eafe241 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));


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