[gnome-music: 5/11] toolbar: Don't set custom title on Toolbar init



commit de86bc3063d312ddb6679cfab8ad78f12f765514
Author: Arnel A. Borja <arnelborja src gnome org>
Date:   Sun Jul 21 00:29:31 2013 +0800

    toolbar: Don't set custom title on Toolbar init
    
    This makes sure that the label created by the header is realized on init.
    The setting of the state of the toolbar to 0 will do this anyway.

 gnomemusic/toolbar.py |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gnomemusic/toolbar.py b/gnomemusic/toolbar.py
index 3834e2e..082b08c 100644
--- a/gnomemusic/toolbar.py
+++ b/gnomemusic/toolbar.py
@@ -35,7 +35,6 @@ class Toolbar(GObject.GObject):
         self._selection_menu = self._ui.get_object("selection-menu")
         self._selection_menu_button = self._ui.get_object("selection-menu-button")
         self._selection_menu_button.set_relief(Gtk.ReliefStyle.NONE)
-        self.header_bar.set_custom_title(self._stack_switcher)
         self._search_button = self._ui.get_object("search-button")
         self._back_button.connect('clicked', self.on_back_button_clicked)
         self._close_button.connect('clicked', self._close_button_clicked)


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