[gnome-software/wip/iainl/ubuntu-xenial: 25/56] Stop snaps being marked as third party
- From: William Hua <williamhua src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/iainl/ubuntu-xenial: 25/56] Stop snaps being marked as third party
- Date: Thu, 14 Apr 2016 06:31:55 +0000 (UTC)
commit fa40bfc3e27a1b2db669f3a87f482c23c705d031
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]