[gnome-software/wip/launcher] Load overview when activated
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/launcher] Load overview when activated
- Date: Mon, 16 Sep 2013 02:51:46 +0000 (UTC)
commit 130f9fa77a5e046df1debcc2b04c44b2698e8499
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 53330c4..e243f8c 100644
--- a/src/gs-application.c
+++ b/src/gs-application.c
@@ -257,6 +257,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]