[gnome-music/wip/mschraal/gtk4: 29/69] window: Cleanups



commit f00bcd477bfc4de72ff7b4795f73a66adf739d9a
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 a8304eaf..a550ceba 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]