[gnome-music/wip/jfelder/gtk4-v3: 32/112] headerbar: Disable nonworking property binding (FIXME)




commit 09ff5e484f1c7027913ef8f8b2c1ac5990bf2974
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 d059eec50..6872a46cb 100644
--- a/gnomemusic/widgets/headerbar.py
+++ b/gnomemusic/widgets/headerbar.py
@@ -116,10 +116,10 @@ class HeaderBar(Adw.Bin):
 
         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]