summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2015-09-29 13:33:30 +0100
committerRichard Hughes <richard@hughsie.com>2015-09-29 13:33:30 +0100
commit4786a0b7692e29568ea091f109dd2ebc51ae2b41 (patch)
tree3f1956b2b7903fc89760787c171bd90b343a708e
parent56b61abea965c94246c957637cc5814285bdf1d2 (diff)
downloadappstream-glib-4786a0b7692e29568ea091f109dd2ebc51ae2b41.tar.gz
trivial: Use keywords in local desktop files when using 'appstream-util search foo'
-rw-r--r--client/as-util.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/client/as-util.c b/client/as-util.c
index 271ab81..0aa04d1 100644
--- a/client/as-util.c
+++ b/client/as-util.c
@@ -1281,7 +1281,11 @@ as_util_search (AsUtilPrivate *priv, gchar **values, GError **error)
/* load system database */
store = as_store_new ();
- if (!as_store_load (store, AS_STORE_LOAD_FLAG_APP_INFO_SYSTEM, NULL, error))
+ if (!as_store_load (store,
+ AS_STORE_LOAD_FLAG_APP_INFO_SYSTEM |
+ AS_STORE_LOAD_FLAG_APPDATA |
+ AS_STORE_LOAD_FLAG_DESKTOP,
+ NULL, error))
return FALSE;
apps = as_store_get_apps (store);
for (i = 0; i < apps->len; i++) {