[gnome-music/wip/jfelder/gtk4-v3: 16/259] emptyview: Add initial state as child




commit 874a65dbeec45bfef8d7dc99598dafc5e285d15a
Author: Jean Felder <jfelder src gnome org>
Date:   Sat Jan 8 23:34:04 2022 +0100

    emptyview: Add initial state as child

 gnomemusic/views/emptyview.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gnomemusic/views/emptyview.py b/gnomemusic/views/emptyview.py
index 0dbdc328b..45a7a5fe5 100644
--- a/gnomemusic/views/emptyview.py
+++ b/gnomemusic/views/emptyview.py
@@ -81,7 +81,7 @@ class EmptyView(Gtk.Stack):
         # child_of_child = self._status_page.get_child().get_child()
         # self._adw_clamp = child_of_child.get_child().get_children()[0]
 
-        self._status_page.add(self._initial_state)
+        self._status_page.set_child(self._initial_state)
 
         self._state = EmptyView.State.EMPTY
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]