[gnome-music/wip/jfelder/gtk4-v3: 49/175] playlistview: Use end-child property to add playlist widget
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/gtk4-v3: 49/175] playlistview: Use end-child property to add playlist widget
- Date: Tue, 8 Feb 2022 12:27:45 +0000 (UTC)
commit 4b855f783c08ed062e8d7d801dc1c6d992d3124f
Author: Marinus Schraal <mschraal gnome org>
Date: Mon Apr 12 17:36:44 2021 +0200
playlistview: Use end-child property to add playlist widget
gnomemusic/views/playlistsview.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/views/playlistsview.py b/gnomemusic/views/playlistsview.py
index 4c1a2f782..58c107e7c 100644
--- a/gnomemusic/views/playlistsview.py
+++ b/gnomemusic/views/playlistsview.py
@@ -63,7 +63,7 @@ class PlaylistsView(Gtk.Paned):
self._untouched_list = True
self._playlist_widget = PlaylistsWidget(application, self)
- self.add(self._playlist_widget)
+ self.props.end_child = self._playlist_widget
self._sidebar.set_header_func(self._sidebar_header_func)
self._sidebar.bind_model(self._model, self._add_playlist_to_sidebar)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]