[gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 98/331] Stop snaps being marked as third party



commit 453c39b4e9172d8bf08953015a3f5f0130d63a90
Author: Robert Ancell <robert ancell canonical com>
Date:   Fri Feb 12 14:08:58 2016 +1300

    Stop snaps being marked as third party

 src/plugins/gs-plugin-snappy.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-snappy.c b/src/plugins/gs-plugin-snappy.c
index a6822d4..0577c4a 100644
--- a/src/plugins/gs-plugin-snappy.c
+++ b/src/plugins/gs-plugin-snappy.c
@@ -311,6 +311,7 @@ get_apps (GsPlugin *plugin, GList **list, AppFilterFunc filter_func, gpointer us
                gs_app_set_name (app, GS_APP_QUALITY_HIGHEST, json_object_get_string_member (package, 
"name"));
                gs_app_set_summary (app, GS_APP_QUALITY_HIGHEST, json_object_get_string_member (package, 
"description"));
                gs_app_set_version (app, json_object_get_string_member (package, "version"));
+               gs_app_set_provenance (app, TRUE);
                icon_url = json_object_get_string_member (package, "icon");
                if (g_str_has_prefix (icon_url, "/")) {
                        g_autoptr(GSocket) icon_socket = NULL;


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