From 423c629c4f5f94a2c411c234fb05c81deac70a02 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 14 Jul 2013 11:55:58 -0400 Subject: [PATCH 2/3] 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 --- src/validate.c | 4 ++-- 1 file 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 } }; -- 1.8.3.1