[gnome-music/wip/mschraal/gtk4: 114/143] playlistsview: Cleanup some stuff
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4: 114/143] playlistsview: Cleanup some stuff
- Date: Sun, 19 Jan 2020 10:53:55 +0000 (UTC)
commit 7d289fc428548fb8c6f8ab041c52d838a13c5be3
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 b8b12766..f574098f 100644
--- a/gnomemusic/views/playlistsview.py
+++ b/gnomemusic/views/playlistsview.py
@@ -86,8 +86,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)
@@ -99,8 +99,6 @@ class PlaylistsView(BaseView):
# Selection is only possible from the context menu
self._window.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]