[gnome-music/wip/mschraal/gtk4: 77/84] disclistboxwidget: row.add -> row.props.child =
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4: 77/84] disclistboxwidget: row.add -> row.props.child =
- Date: Tue, 9 Jun 2020 14:27:17 +0000 (UTC)
commit d82682ebae2c5a270737c9a5a62e2259610ee1e4
Author: Marinus Schraal <mschraal gnome org>
Date: Mon Jun 8 01:29:50 2020 +0200
disclistboxwidget: row.add -> row.props.child =
gnomemusic/widgets/disclistboxwidget.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/widgets/disclistboxwidget.py b/gnomemusic/widgets/disclistboxwidget.py
index 56498ad7..61d03641 100644
--- a/gnomemusic/widgets/disclistboxwidget.py
+++ b/gnomemusic/widgets/disclistboxwidget.py
@@ -96,7 +96,7 @@ class DiscBox(Gtk.ListBoxRow):
row = Gtk.ListBoxRow()
row.props.activatable = False
row.props.selectable = False
- row.add(song_widget)
+ row.props.child = song_widget
return row
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]