[gnome-software/wip/temp/ubuntu-xenial-rebased: 98/326] Stop snaps being marked as third party
- From: Iain Lane <iainl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/temp/ubuntu-xenial-rebased: 98/326] Stop snaps being marked as third party
- Date: Fri, 29 Apr 2016 09:55:34 +0000 (UTC)
commit 2dea225698ef26b1f6c9417f641eeb6acdef4bce
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]