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




commit 03be6d5d13d0e157e2c404a147279e9caca17f77
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]