[gnome-music/wip/mschraal/gtk4: 26/58] window: Cleanups



commit ec056372d9b47eb3584b75482e53c76fb9099721
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 f452b1a9..45bffe1b 100644
--- a/gnomemusic/window.py
+++ b/gnomemusic/window.py
@@ -175,7 +175,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)
 
@@ -184,7 +184,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]