From 3019b8815ef967f0734eea848dbaed68a1ff756d Mon Sep 17 00:00:00 2001 From: Ryan Kornheisl Date: Thu, 15 Aug 2024 23:19:49 -0400 Subject: [PATCH 1/2] Ensure stack widgets are visible so they can be switched to --- src/Views/AppListUpdateView.vala | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Views/AppListUpdateView.vala b/src/Views/AppListUpdateView.vala index 2aa618c7b..94692c20a 100644 --- a/src/Views/AppListUpdateView.vala +++ b/src/Views/AppListUpdateView.vala @@ -160,6 +160,7 @@ namespace AppCenter.Views { main_box.add (header_revealer); main_box.add (scrolled); main_box.get_style_context ().add_class (Gtk.STYLE_CLASS_VIEW); + main_box.show_all (); var stack = new Gtk.Stack () { transition_type = UNDER_UP From f7d21a14557a623d2a98e7e8a2a97243ff7ebe03 Mon Sep 17 00:00:00 2001 From: Ryan Kornheisl Date: Thu, 15 Aug 2024 23:30:09 -0400 Subject: [PATCH 2/2] Fix loading view not showing by default --- src/Views/AppListUpdateView.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Views/AppListUpdateView.vala b/src/Views/AppListUpdateView.vala index 94692c20a..9a4bb26e0 100644 --- a/src/Views/AppListUpdateView.vala +++ b/src/Views/AppListUpdateView.vala @@ -165,8 +165,8 @@ namespace AppCenter.Views { var stack = new Gtk.Stack () { transition_type = UNDER_UP }; - stack.add (main_box); stack.add (loading_view); + stack.add (main_box); add (stack);