[gnome-software/wip/iainl/ubuntu-xenial] Properly disable reviews for snaps



commit da5d66b787ac654e6cd207a3ba3765d3411ad6a4
Author: William Hua <william hua canonical com>
Date:   Tue Apr 19 13:46:35 2016 -0400

    Properly disable reviews for snaps

 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 2679cbf..bac1272 100644
--- a/src/plugins/gs-plugin-snappy.c
+++ b/src/plugins/gs-plugin-snappy.c
@@ -228,6 +228,7 @@ get_apps (GsPlugin *plugin, const gchar *sources, gchar **search_terms, GList **
                gs_app_set_management_plugin (app, "snappy");
                gs_app_set_origin (app, _("Ubuntu Snappy Store"));
                gs_app_set_kind (app, AS_APP_KIND_DESKTOP);
+               gs_app_add_quirk (app, AS_APP_QUIRK_NOT_REVIEWABLE);
                refine_app (plugin, app, package);
                gs_plugin_add_app (list, app);
        }


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