[gnome-software] Show the star ratings in more places



commit aaa5a3757d856e61e4441a6699e78b874d969dcf
Author: Richard Hughes <richard hughsie com>
Date:   Fri Jul 8 12:29:57 2016 +0100

    Show the star ratings in more places

 src/gs-shell-overview.c |    2 ++
 src/gs-shell-search.c   |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-shell-overview.c b/src/gs-shell-overview.c
index 7ef1209..e4e9ad4 100644
--- a/src/gs-shell-overview.c
+++ b/src/gs-shell-overview.c
@@ -432,6 +432,7 @@ gs_shell_overview_load (GsShellOverview *self)
        if (!priv->loading_popular) {
                priv->loading_popular = TRUE;
                gs_plugin_loader_get_popular_async (priv->plugin_loader,
+                                                   GS_PLUGIN_REFINE_FLAGS_REQUIRE_REVIEW_RATINGS |
                                                    GS_PLUGIN_REFINE_FLAGS_REQUIRE_ICON,
                                                    priv->cancellable,
                                                    gs_shell_overview_get_popular_cb,
@@ -455,6 +456,7 @@ gs_shell_overview_load (GsShellOverview *self)
                priv->loading_popular_rotating = TRUE;
                gs_plugin_loader_get_category_apps_async (priv->plugin_loader,
                                                          featured_category,
+                                                         GS_PLUGIN_REFINE_FLAGS_REQUIRE_REVIEW_RATINGS |
                                                          GS_PLUGIN_REFINE_FLAGS_REQUIRE_ICON,
                                                          priv->cancellable,
                                                          gs_shell_overview_get_popular_rotating_cb,
diff --git a/src/gs-shell-search.c b/src/gs-shell-search.c
index 1f7de0a..bf45bc7 100644
--- a/src/gs-shell-search.c
+++ b/src/gs-shell-search.c
@@ -185,6 +185,7 @@ gs_shell_search_load (GsShellSearch *self)
                                       GS_PLUGIN_REFINE_FLAGS_REQUIRE_PROVENANCE |
                                       GS_PLUGIN_REFINE_FLAGS_REQUIRE_HISTORY |
                                       GS_PLUGIN_REFINE_FLAGS_REQUIRE_SETUP_ACTION |
+                                      GS_PLUGIN_REFINE_FLAGS_REQUIRE_REVIEW_RATINGS |
                                       GS_PLUGIN_REFINE_FLAGS_REQUIRE_DESCRIPTION |
                                       GS_PLUGIN_REFINE_FLAGS_REQUIRE_LICENSE |
                                       GS_PLUGIN_REFINE_FLAGS_REQUIRE_PERMISSIONS |


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