summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-07-14 11:55:58 -0400
committerVincent Untz <vuntz@gnome.org>2013-07-19 10:19:42 +0300
commit9075a05a384998ab96ad707b412a54fa5a8ddf48 (patch)
tree3c682d10a46a9057cc7033f8fb7d08e014e12911
parent479c0caa966f60367a8595b7f566ced3a82b889b (diff)
Warn about OnlyShowIn in Action groups
This was recently removed from the desktop entry spec, see https://bugs.freedesktop.org/show_bug.cgi?id=66712
-rw-r--r--src/validate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/validate.c b/src/validate.c
index 803c18f..68fd6f0 100644
--- a/src/validate.c
+++ b/src/validate.c
@@ -357,8 +357,8 @@ static DesktopKeyDefinition registered_desktop_keys[] = {
static DesktopKeyDefinition registered_action_keys[] = {
{ DESKTOP_LOCALESTRING_TYPE, "Name", TRUE, FALSE, FALSE, NULL },
{ DESKTOP_LOCALESTRING_TYPE, "Icon", FALSE, FALSE, FALSE, handle_icon_key },
- { DESKTOP_STRING_LIST_TYPE, "OnlyShowIn", FALSE, FALSE, FALSE, handle_show_in_key },
- { DESKTOP_STRING_LIST_TYPE, "NotShowIn", FALSE, FALSE, FALSE, handle_show_in_key },
+ { DESKTOP_STRING_LIST_TYPE, "OnlyShowIn", FALSE, TRUE, FALSE, handle_show_in_key },
+ { DESKTOP_STRING_LIST_TYPE, "NotShowIn", FALSE, TRUE, FALSE, handle_show_in_key },
{ DESKTOP_STRING_TYPE, "Exec", TRUE, FALSE, FALSE, handle_exec_key }
};