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



commit c0e007b3db61b1d46192b22214a7bc2752edf460
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]