summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorRichard Hughes <richard@hughsie.com>2015-06-16 15:53:55 +0100
committerRichard Hughes <richard@hughsie.com>2015-06-16 15:53:55 +0100
commit6538d331a842da7132c327e2dd9143012cff05c6 (patch)
treebe9954848227edf3e82718c1f5aca623f1684405 /client
parent7887549cc09fd886210fa0fcdefc12cfd22b4736 (diff)
downloadappstream-glib-6538d331a842da7132c327e2dd9143012cff05c6.tar.gz
Add a flag to relax the AppData Category=Settings requirement
Diffstat (limited to 'client')
-rw-r--r--client/as-builder.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/as-builder.c b/client/as-builder.c
index 946ac25..96372f3 100644
--- a/client/as-builder.c
+++ b/client/as-builder.c
@@ -305,6 +305,10 @@ main (int argc, char **argv)
flags |= ASB_CONTEXT_FLAG_IGNORE_LEGACY_ICONS;
continue;
}
+ if (g_strcmp0 (veto_ignore[i], "ignore-settings") == 0) {
+ flags |= ASB_CONTEXT_FLAG_IGNORE_SETTINGS;
+ continue;
+ }
g_warning ("Unknown flag name: %s, "
"expected 'missing-info' or 'missing-parents'",
veto_ignore[i]);