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



commit dec0db355e11abab81f7095ff6dc58cc30f383e3
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 e01d81e1..6343cf51 100644
--- a/gnomemusic/widgets/headerbar.py
+++ b/gnomemusic/widgets/headerbar.py
@@ -121,7 +121,7 @@ class HeaderBar(Gtk.HeaderBar):
         self._menu_button.set_popover(AppMenu())
 
         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]