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




commit 831e445874daa5663f418d4fc4a6884b57a1d8b1
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]