[gnome-software] Load overview when activated



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]