diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/validate.c | 6 |
2 files changed, 12 insertions, 0 deletions
@@ -1,3 +1,9 @@ +2006-11-06 Ray Strode <rstrode@redhat.com> + + * src/validate.c: add patch from Vincent Untz to + not validate categories that start with X- + (gnome bug 343799) + 2006-07-25 Ray Strode <rstrode@redhat.com> * src/egg*: remove from cvs diff --git a/src/validate.c b/src/validate.c index 9317974..6ee0038 100644 --- a/src/validate.c +++ b/src/validate.c @@ -202,6 +202,12 @@ validate_categories (const char *value, const char *key, const char *locale, con { int j = 0; + if (strncmp ("X-", vals[i], 2) == 0) + { + i++; + continue; + } + while (categories_keys[j]) { if (g_ascii_strcasecmp (vals[i], categories_keys[j]) == 0) |