[gnome-music] Show explicitly the stack switcher



commit 3dd50507c571ea8b7d5334cb807020d53faa0771
Author: Yosef Or Boczko <yoseforb src gnome org>
Date:   Thu Feb 6 13:19:42 2014 +0200

    Show explicitly the stack switcher
    
    From GTK+ 3.11, widget which set as a custom title
    of the headerbar not shown automatic anymore.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=723750

 gnomemusic/toolbar.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gnomemusic/toolbar.py b/gnomemusic/toolbar.py
index e5b36f6..6e3f615 100644
--- a/gnomemusic/toolbar.py
+++ b/gnomemusic/toolbar.py
@@ -56,6 +56,7 @@ class Toolbar(GObject.GObject):
     def __init__(self):
         GObject.GObject.__init__(self)
         self._stack_switcher = StackSwitcher(margin_top=2, margin_bottom=2)
+        self._stack_switcher.show()
         self._ui = Gtk.Builder()
         self._ui.add_from_resource('/org/gnome/Music/headerbar.ui')
         self.header_bar = self._ui.get_object('header-bar')


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