[gnome-shell-extensions] window-list: Replace allocation-changed signal



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

    window-list: Replace allocation-changed signal
    
    It has been removed in favor of notify::allocation.
    
    https://gitlab.gnome.org/GNOME/gnome-shell-extensions/-/merge_requests/122

 extensions/window-list/extension.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/extensions/window-list/extension.js b/extensions/window-list/extension.js
index 090e635..e04a040 100644
--- a/extensions/window-list/extension.js
+++ b/extensions/window-list/extension.js
@@ -224,7 +224,7 @@ const BaseButton = GObject.registerClass({
             button_mask: St.ButtonMask.ONE | St.ButtonMask.THREE,
         });
 
-        this.connect('allocation-changed',
+        this.connect('notify::allocation',
             this._updateIconGeometry.bind(this));
         this.connect('clicked', this._onClicked.bind(this));
         this.connect('destroy', this._onDestroy.bind(this));


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