[gnome-music/wip/mschraal/gtk4-v2: 49/60] disclistboxwidget: ListBoxRow use set_child
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4-v2: 49/60] disclistboxwidget: ListBoxRow use set_child
- Date: Sun, 2 May 2021 11:44:21 +0000 (UTC)
commit 1c3f1d7831540ba7db7a26c1ccac2b7e252b66fd
Author: Marinus Schraal <mschraal gnome org>
Date: Mon Apr 12 17:31:12 2021 +0200
disclistboxwidget: ListBoxRow use set_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 02244e91a..7a4644cff 100644
--- a/gnomemusic/widgets/disclistboxwidget.py
+++ b/gnomemusic/widgets/disclistboxwidget.py
@@ -94,7 +94,7 @@ class DiscBox(Gtk.ListBoxRow):
row = Gtk.ListBoxRow()
row.props.activatable = False
row.props.selectable = False
- row.add(song_widget)
+ row.set_child(song_widget)
return row
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]