[gnome-music/wip/mschraal/gtk4-v2: 26/60] headerbar: Disable nonworking property binding (FIXME)




commit 4520117654eb34586168374881519e6386bae759
Author: Marinus Schraal <mschraal gnome org>
Date:   Sun Apr 11 23:20:06 2021 +0200

    headerbar: Disable nonworking property binding (FIXME)

 gnomemusic/widgets/headerbar.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gnomemusic/widgets/headerbar.py b/gnomemusic/widgets/headerbar.py
index 7e0f30b5c..65d006640 100644
--- a/gnomemusic/widgets/headerbar.py
+++ b/gnomemusic/widgets/headerbar.py
@@ -116,10 +116,10 @@ class HeaderBar(Gtk.HeaderBar):
 
         self._menu_button.set_popover(AppMenu(application))
 
-        self.bind_property(
-            "selection-mode", self, "show-close-button",
-            GObject.BindingFlags.INVERT_BOOLEAN
-            | GObject.BindingFlags.SYNC_CREATE)
+        # self.bind_property(
+        #     "selection-mode", self, "show-close-button",
+        #     GObject.BindingFlags.INVERT_BOOLEAN
+        #     | GObject.BindingFlags.SYNC_CREATE)
         self.bind_property(
             "selection-mode", self._cancel_button, "visible")
         self.bind_property(


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