[gnome-music/wip/mschraal/gtk4: 35/81] headerbar: show-close-button -> show-title-buttons



commit 96f97f10a34b6ae37d9b6f5c5b12a2f373d669e6
Author: Marinus Schraal <mschraal gnome org>
Date:   Thu Oct 31 13:48:34 2019 +0100

    headerbar: show-close-button -> show-title-buttons

 gnomemusic/widgets/headerbar.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/widgets/headerbar.py b/gnomemusic/widgets/headerbar.py
index 909974a2..ff5e6d45 100644
--- a/gnomemusic/widgets/headerbar.py
+++ b/gnomemusic/widgets/headerbar.py
@@ -117,7 +117,7 @@ class HeaderBar(Gtk.HeaderBar):
         self._menu_button.set_popover(AppMenu(application))
 
         self.bind_property(
-            "selection-mode", self, "show-close-button",
+            "selection-mode", self, "show-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]