[gnome-software/wip/rancell/reviews: 2/33] Add flag for refining reviews
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/rancell/reviews: 2/33] Add flag for refining reviews
- Date: Wed, 3 Feb 2016 03:56:33 +0000 (UTC)
commit c1be2d4b11d64f8e43c6b44c6e1efd064453d664
Author: Robert Ancell <robert ancell canonical com>
Date: Tue Dec 8 16:23:40 2015 +1300
Add flag for refining reviews
src/gs-plugin.h | 1 +
src/gs-shell-details.c | 6 ++++--
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/src/gs-plugin.h b/src/gs-plugin.h
index e346371..5e67565 100644
--- a/src/gs-plugin.h
+++ b/src/gs-plugin.h
@@ -107,6 +107,7 @@ typedef enum {
GS_PLUGIN_REFINE_FLAGS_REQUIRE_UPDATE_SEVERITY = 1 << 15,
GS_PLUGIN_REFINE_FLAGS_REQUIRE_UPGRADE_REMOVED = 1 << 16,
GS_PLUGIN_REFINE_FLAGS_REQUIRE_PROVENANCE = 1 << 17,
+ GS_PLUGIN_REFINE_FLAGS_REQUIRE_REVIEWS = 1 << 18,
GS_PLUGIN_REFINE_FLAGS_LAST
} GsPluginRefineFlags;
diff --git a/src/gs-shell-details.c b/src/gs-shell-details.c
index 6a38501..37bb8a3 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -1070,7 +1070,8 @@ gs_shell_details_set_filename (GsShellDetails *self, const gchar *filename)
gs_plugin_loader_filename_to_app_async (self->plugin_loader,
filename,
GS_PLUGIN_REFINE_FLAGS_DEFAULT |
- GS_PLUGIN_REFINE_FLAGS_REQUIRE_RATING,
+ GS_PLUGIN_REFINE_FLAGS_REQUIRE_RATING |
+ GS_PLUGIN_REFINE_FLAGS_REQUIRE_REVIEWS,
self->cancellable,
gs_shell_details_filename_to_app_cb,
self);
@@ -1094,7 +1095,8 @@ gs_shell_details_load (GsShellDetails *self)
GS_PLUGIN_REFINE_FLAGS_REQUIRE_URL |
GS_PLUGIN_REFINE_FLAGS_REQUIRE_SETUP_ACTION |
GS_PLUGIN_REFINE_FLAGS_REQUIRE_PROVENANCE |
- GS_PLUGIN_REFINE_FLAGS_REQUIRE_ADDONS,
+ GS_PLUGIN_REFINE_FLAGS_REQUIRE_ADDONS |
+ GS_PLUGIN_REFINE_FLAGS_REQUIRE_REVIEWS,
self->cancellable,
gs_shell_details_app_refine_cb,
self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]