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: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2636>
This commit is contained in:
parent
c315fe3f20
commit
64962508e9
@ -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'));
|
||||
|
Loading…
Reference in New Issue
Block a user