[gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 164/331] Switch to updates page on initial update
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 164/331] Switch to updates page on initial update
- Date: Wed, 4 May 2016 14:12:18 +0000 (UTC)
commit 64859d2b054cad82688232ed232af5159ccd1ce6
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]