diff --git a/js/ui/quickSettings.js b/js/ui/quickSettings.js index d0dc2e996..8ba5ac4f4 100644 --- a/js/ui/quickSettings.js +++ b/js/ui/quickSettings.js @@ -186,9 +186,13 @@ var QuickMenuToggle = GObject.registerClass({ }); this._box.add_child(this._menuButton); + this.bind_property('toggle-mode', + contents, 'toggle-mode', + GObject.BindingFlags.SYNC_CREATE); this.bind_property('checked', contents, 'checked', - GObject.BindingFlags.SYNC_CREATE); + GObject.BindingFlags.SYNC_CREATE | + GObject.BindingFlags.BIDIRECTIONAL); this.bind_property('title', contents, 'title', GObject.BindingFlags.SYNC_CREATE);