summaryrefslogtreecommitdiff
path: root/libappstream-glib/as-store.c
diff options
context:
space:
mode:
Diffstat (limited to 'libappstream-glib/as-store.c')
-rw-r--r--libappstream-glib/as-store.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libappstream-glib/as-store.c b/libappstream-glib/as-store.c
index 6a38f7d..a92823a 100644
--- a/libappstream-glib/as-store.c
+++ b/libappstream-glib/as-store.c
@@ -2330,6 +2330,9 @@ as_store_load_installed (AsStore *store,
/* emit once when finished */
tok = as_store_changed_inhibit (store);
+ /* always load all the .desktop 'X-' metadata */
+ parse_flags |= AS_APP_PARSE_FLAG_ADD_ALL_METADATA;
+
/* relax the checks when parsing */
if (flags & AS_STORE_LOAD_FLAG_ALLOW_VETO)
parse_flags |= AS_APP_PARSE_FLAG_ALLOW_VETO;