[gnome-software/gnome-3-16] Do not show applications that are not available when searching by category
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-3-16] Do not show applications that are not available when searching by category
- Date: Mon, 13 Jul 2015 09:08:30 +0000 (UTC)
commit 4b533972185c72edaa734c8f57d7c5b5a1e40e16
Author: Richard Hughes <richard hughsie com>
Date: Mon Jul 13 10:04:52 2015 +0100
Do not show applications that are not available when searching by category
We have to actually check there is a version available when we run the refine
plugins otherwise we just match AppStream and the application is not marked as
invalid.
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1237215
src/gs-shell-category.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-shell-category.c b/src/gs-shell-category.c
index dfa535a..fc27aa2 100644
--- a/src/gs-shell-category.c
+++ b/src/gs-shell-category.c
@@ -163,6 +163,7 @@ gs_shell_category_populate_filtered (GsShellCategory *shell)
gs_plugin_loader_get_category_apps_async (priv->plugin_loader,
priv->category,
GS_PLUGIN_REFINE_FLAGS_DEFAULT |
+ GS_PLUGIN_REFINE_FLAGS_REQUIRE_VERSION |
GS_PLUGIN_REFINE_FLAGS_REQUIRE_RATING,
priv->cancellable,
gs_shell_category_get_apps_cb,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]