[gnome-music/wip/jfelder/gtk4-v3: 96/175] searchview: Correctly set scrolled window child
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/gtk4-v3: 96/175] searchview: Correctly set scrolled window child
- Date: Tue, 8 Feb 2022 12:27:46 +0000 (UTC)
commit 66e18b4f3f450947cacecc0e9b614f5d4cabba25
Author: Jean Felder <jfelder src gnome org>
Date: Wed Feb 2 23:57:26 2022 +0100
searchview: Correctly set scrolled window child
gnomemusic/views/searchview.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/views/searchview.py b/gnomemusic/views/searchview.py
index 168b07599..1395745ec 100644
--- a/gnomemusic/views/searchview.py
+++ b/gnomemusic/views/searchview.py
@@ -140,7 +140,7 @@ class SearchView(Gtk.Stack):
self._album_widget.bind_property(
"selection-mode", self, "selection-mode",
GObject.BindingFlags.BIDIRECTIONAL)
- self._scrolled_album_widget.add(self._album_widget)
+ self._scrolled_album_widget.set_child(self._album_widget)
self._scrolled_artist_window: Optional[Gtk.ScrolledWindow] = None
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]