[gnome-music/wip/mschraal/gtk4-v3: 12/187] emptyview: Add initial state as child
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/gtk4-v3: 12/187] emptyview: Add initial state as child
- Date: Thu, 10 Feb 2022 10:42:25 +0000 (UTC)
commit e02b77c8bd4f51af7e81af818632287a9c0ce10a
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]