[gnome-music/wip/jfelder/gtk4-v3: 11/118] 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: 11/118] emptyview: Add initial state as child
- Date: Thu, 3 Feb 2022 01:07:12 +0000 (UTC)
commit 5959096f03fdf8622ff4e5cde988110c22a5543c
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]