[gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 329/331] Fix first run refresh



commit e0ab82bec6c7cdd2dbd07b9eca042b8e089f6ebd
Author: William Hua <william hua canonical com>
Date:   Fri Apr 29 15:06:32 2016 +0200

    Fix first run refresh

 src/gs-application.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/gs-application.c b/src/gs-application.c
index dfc353c..8409fff 100644
--- a/src/gs-application.c
+++ b/src/gs-application.c
@@ -270,7 +270,8 @@ start_refresh (GsApplication *app)
 
        gs_plugin_loader_refresh_async (gs_application_get_plugin_loader (app),
                                        0,
-                                       GS_PLUGIN_REFRESH_FLAGS_PAYLOAD | GS_PLUGIN_REFRESH_FLAGS_UI,
+                                       GS_PLUGIN_REFRESH_FLAGS_METADATA |
+                                       GS_PLUGIN_REFRESH_FLAGS_PAYLOAD,
                                        NULL,
                                        refreshed_cb,
                                        app);


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