[gnome-music/wip/jfelder/gtk4-v3: 57/167] 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: 57/167] playlistview: Use end-child property to add playlist widget
- Date: Fri, 4 Feb 2022 21:14:16 +0000 (UTC)
commit db9690a24f293870a41698185b3ecf4c36986aba
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]