[gnome-software/wip/temp/ubuntu-xenial-rebased: 102/329] Stop snaps being marked as add-ons
- From: Iain Lane <iainl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/temp/ubuntu-xenial-rebased: 102/329] Stop snaps being marked as add-ons
- Date: Fri, 29 Apr 2016 13:53:54 +0000 (UTC)
commit 32d426ae11bea9c84ef08e2bf72fdd15fdc93390
Author: Robert Ancell <robert ancell canonical com>
Date: Fri Feb 12 14:10:38 2016 +1300
Stop snaps being marked as add-ons
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 0577c4a..3e46687 100644
--- a/src/plugins/gs-plugin-snappy.c
+++ b/src/plugins/gs-plugin-snappy.c
@@ -312,6 +312,7 @@ get_apps (GsPlugin *plugin, GList **list, AppFilterFunc filter_func, gpointer us
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);
+ gs_app_set_id_kind (app, AS_ID_KIND_DESKTOP);
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]