[gnome-software/wip/rancell/apt] Switch to updates page on initial update



commit b78199c8a1594981b4dca4e1813c3d87810e55f3
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 747d1c3..f3b94ec 100644
--- a/src/plugins/gs-plugin-appstream.c
+++ b/src/plugins/gs-plugin-appstream.c
@@ -189,6 +189,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]