[gnome-software/wip/temp/ubuntu-xenial-rebased: 167/329] Switch to updates page on initial update



commit c403ed2e6676cb9b9356f56b0d4795fcb2ff6e76
Author: William Hua <william hua canonical com>
Date:   Fri Mar 18 11:08:32 2016 -0400

    Switch to updates page on initial update

 src/plugins/gs-plugin-appstream.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-appstream.c b/src/plugins/gs-plugin-appstream.c
index 4695371..40f0a49 100644
--- a/src/plugins/gs-plugin-appstream.c
+++ b/src/plugins/gs-plugin-appstream.c
@@ -185,6 +185,8 @@ start_refresh (GsPlugin *plugin)
 
        application = g_application_get_default ();
 
+       g_action_group_activate_action (G_ACTION_GROUP (application), "set-mode", g_variant_new_string 
("updates"));
+
        loader = gs_application_get_plugin_loader (GS_APPLICATION (application));
 
        gs_plugin_loader_refresh_async (loader,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]