[gnome-music/wip/jfelder/gtk4-v3: 156/167] searchheaderbar: show-close-button is now show-title-buttons




commit 925fa152be1638b7755a9b900a527cf7e59a96ef
Author: Jean Felder <jfelder src gnome org>
Date:   Fri Feb 4 01:29:07 2022 +0100

    searchheaderbar: show-close-button is now show-title-buttons

 gnomemusic/widgets/searchheaderbar.py | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)
---
diff --git a/gnomemusic/widgets/searchheaderbar.py b/gnomemusic/widgets/searchheaderbar.py
index 46f6b6f09..30319b03e 100644
--- a/gnomemusic/widgets/searchheaderbar.py
+++ b/gnomemusic/widgets/searchheaderbar.py
@@ -68,11 +68,8 @@ class SearchHeaderBar(Adw.Bin):
 
         self._selection_menu = SelectionBarMenuButton()
 
-        # FIXME: Fix entry.
-        return
-
         self.bind_property(
-            "selection-mode", self, "show-close-button",
+            "selection-mode", self._headerbar, "show-end-title-buttons",
             GObject.BindingFlags.INVERT_BOOLEAN
             | GObject.BindingFlags.SYNC_CREATE)
         self.bind_property(


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