[gnome-music/wip/mschraal/gtk4: 16/64] window: Cleanups



commit d506268129768ffc81ceeb8da6d45d83d2ae1d90
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 55a528fa..5bdadb4f 100644
--- a/gnomemusic/window.py
+++ b/gnomemusic/window.py
@@ -168,7 +168,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)
 
@@ -177,7 +177,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]