[gnome-software] Require the description when searching installed applications
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Require the description when searching installed applications
- Date: Sat, 9 Aug 2014 09:21:34 +0000 (UTC)
commit 02dc6d0181f58196caca57dd9cbb715365f8641d
Author: Richard Hughes <richard hughsie com>
Date: Sat Aug 9 10:52:40 2014 +0200
Require the description when searching installed applications
This slows down the initial search as we might need to parse AppStream metadata
(if not already loaded) so we can show the multiline description in the search
results page. In most cases there will be no speed regression.
This will only make a visible change when an application has local AppData, but
no long description in the remote AppStream metadata.
src/gs-shell-search.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-shell-search.c b/src/gs-shell-search.c
index c458932..6c45b01 100644
--- a/src/gs-shell-search.c
+++ b/src/gs-shell-search.c
@@ -327,6 +327,7 @@ gs_shell_search_refresh (GsShellSearch *shell_search, const gchar *value, gboole
GS_PLUGIN_REFINE_FLAGS_REQUIRE_VERSION |
GS_PLUGIN_REFINE_FLAGS_REQUIRE_HISTORY |
GS_PLUGIN_REFINE_FLAGS_REQUIRE_SETUP_ACTION |
+ GS_PLUGIN_REFINE_FLAGS_REQUIRE_DESCRIPTION |
GS_PLUGIN_REFINE_FLAGS_REQUIRE_RATING,
priv->search_cancellable,
gs_shell_search_get_search_cb,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]