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



commit d3cc7ba753ff59d8883dd72bfc176ba94dd50c2d
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 07a669c0..6aff7aee 100644
--- a/gnomemusic/widgets/headerbar.py
+++ b/gnomemusic/widgets/headerbar.py
@@ -125,7 +125,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]