[gnome-music/wip/mschraal/gtk4: 43/81] window: Cleanups



commit b4d0de6c55afd5a95ceb4788080a57b3e0c41bfd
Author: Marinus Schraal <mschraal gnome org>
Date:   Thu Oct 31 14:24:15 2019 +0100

    window: Cleanups

 gnomemusic/window.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gnomemusic/window.py b/gnomemusic/window.py
index 16333d5c..12ebe41b 100644
--- a/gnomemusic/window.py
+++ b/gnomemusic/window.py
@@ -166,7 +166,7 @@ class Window(Gtk.ApplicationWindow):
         # bottom line of the searchbar
         self._stack.get_style_context().add_class('background')
 
-        self._box.pack_end(self._player_toolbar, False, False, 0)
+        self._box.add(self._player_toolbar)
 
         self.set_titlebar(self._headerbar_stack)
 
@@ -175,7 +175,6 @@ class Window(Gtk.ApplicationWindow):
         self._search.connect("notify::state", self._on_search_state_changed)
 
         self._headerbar.props.state = HeaderBar.State.MAIN
-        self._headerbar_stack.show_all()
 
         self._app.props.coremodel.connect(
             "notify::songs-available", self._on_songs_available)


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