[gnome-music/wip/jfelder/gtk4-v3: 13/208] emptyview: Add initial state as child
- From: Jean Felder <jfelder src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/jfelder/gtk4-v3: 13/208] emptyview: Add initial state as child
- Date: Fri, 11 Feb 2022 11:40:19 +0000 (UTC)
commit 9752b161f4f1dc8c34aaa2355ad46e4824346379
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]