[gnome-music/wip/mschraal/gtk4: 44/69] playlistsview: Cleanup some stuff



commit b9a6566aaa534f8bfea0a8180ae7d64a1992e534
Author: Marinus Schraal <mschraal gnome org>
Date:   Thu Oct 31 15:53:08 2019 +0100

    playlistsview: Cleanup some stuff

 gnomemusic/views/playlistsview.py | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/gnomemusic/views/playlistsview.py b/gnomemusic/views/playlistsview.py
index c0f04520..22d8fb57 100644
--- a/gnomemusic/views/playlistsview.py
+++ b/gnomemusic/views/playlistsview.py
@@ -105,8 +105,8 @@ class PlaylistsView(BaseView):
         self._sidebar.set_selection_mode(Gtk.SelectionMode.SINGLE)
         self._sidebar.connect('row-activated', self._on_playlist_activated)
 
-        self._grid.child_set_property(sidebar_container, 'top-attach', 0)
-        self._grid.child_set_property(sidebar_container, 'height', 2)
+        # self._grid.child_set_property(sidebar_container, 'top-attach', 0)
+        # self._grid.child_set_property(sidebar_container, 'height', 2)
 
         self._sidebar.bind_model(self._model, self._add_playlist_to_sidebar)
 
@@ -118,8 +118,6 @@ class PlaylistsView(BaseView):
         # Selection is only possible from the context menu
         self.disconnect(self._selection_mode_id)
 
-        self.show_all()
-
     @log
     def _setup_view(self):
         view_container = Gtk.ScrolledWindow(hexpand=True, vexpand=True)


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