From 64962508e995b4f787e0da3643963df538119405 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20M=C3=BCllner?= Date: Sat, 11 Feb 2023 13:35:20 +0100 Subject: [PATCH] quickSettings: Fix MenuToggle clicks With the split menu toggle, the actual clicks now happen on the internal quick toggle, not the menu toggle as a whole where callers expect it. Forward the signal to fix that. Part-of: --- js/ui/quickSettings.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/quickSettings.js b/js/ui/quickSettings.js index f0a737e41..ef8d06e51 100644 --- a/js/ui/quickSettings.js +++ b/js/ui/quickSettings.js @@ -206,6 +206,7 @@ var QuickMenuToggle = GObject.registerClass({ this.bind_property('checked', this._menuButton, 'checked', GObject.BindingFlags.SYNC_CREATE); + contents.connect('clicked', (o, button) => this.emit('clicked', button)); this._menuButton.connect('clicked', () => this.menu.open()); this._menuButton.connect('popup-menu', () => this.emit('popup-menu')); contents.connect('popup-menu', () => this.emit('popup-menu'));