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



commit 6da3de79e9cafdbfe656c6c69722c3e8b35b7dfa
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 08a965d7..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.props.visible = True
 
         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]