[gnome-software/wip/temp/ubuntu-xenial-rebased-corrected: 99/331] Stop snaps being marked as add-ons



commit ee7adae17772baa8c207dce80865bbe494efccdb
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]