[gnome-software] Load overview when activated
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Load overview when activated
- Date: Fri, 18 Oct 2013 03:29:06 +0000 (UTC)
commit cbe6bc519b80011ab5068c2fd8372ed83cfc67ff
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Sep 15 22:51:03 2013 -0400
Load overview when activated
Otherwise, the page does not get populated initially.
src/gs-application.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-application.c b/src/gs-application.c
index ef09504..d12922c 100644
--- a/src/gs-application.c
+++ b/src/gs-application.c
@@ -234,6 +234,8 @@ gs_application_startup (GApplication *application)
static void
gs_application_activate (GApplication *application)
{
+ gs_application_initialize_ui (GS_APPLICATION (application));
+ gs_shell_set_mode (GS_APPLICATION (application)->shell, GS_SHELL_MODE_OVERVIEW);
gs_shell_activate (GS_APPLICATION (application)->shell);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]