From 47f5606dc7ae797b74567666b0734b7ee25c7d87 Mon Sep 17 00:00:00 2001 From: Vincent Untz Date: Sat, 28 Apr 2007 13:45:54 +0000 Subject: a desktop file of type Application should always have an Exec key. Same 2007-04-28 Vincent Untz * desktop-entry-spec.xml: a desktop file of type Application should always have an Exec key. Same for Link Type and URL key. http://lists.freedesktop.org/archives/xdg/2007-March/009437.html --- desktop-entry/ChangeLog | 6 ++++++ desktop-entry/desktop-entry-spec.xml | 11 +++++++++-- 2 files changed, 15 insertions(+), 2 deletions(-) (limited to 'desktop-entry') diff --git a/desktop-entry/ChangeLog b/desktop-entry/ChangeLog index da220e1..2dd9562 100644 --- a/desktop-entry/ChangeLog +++ b/desktop-entry/ChangeLog @@ -1,3 +1,9 @@ +2007-04-28 Vincent Untz + + * desktop-entry-spec.xml: a desktop file of type Application should + always have an Exec key. Same for Link Type and URL key. + http://lists.freedesktop.org/archives/xdg/2007-March/009437.html + 2007-04-28 Vincent Untz * desktop-entry-spec.xml: desktop files of type Directory have a diff --git a/desktop-entry/desktop-entry-spec.xml b/desktop-entry/desktop-entry-spec.xml index c9e28f6..db4acc0 100644 --- a/desktop-entry/desktop-entry-spec.xml +++ b/desktop-entry/desktop-entry-spec.xml @@ -332,6 +332,13 @@ when the value of the Type key is Application. + + If a REQUIRED key is only valid in the context of another key set to a + specific value, then it has to be present only if the other key is set to + the specific value. For example, the URL key has to be + present when and only when when the value of the Type + key is Link. + Some example keys: Name[C], Comment[it]. @@ -476,7 +483,7 @@ Program to execute, possibly with arguments. string - NO + YES 1 @@ -549,7 +556,7 @@ If entry is Link type, the URL to access. string - NO + YES 2 -- cgit v1.2.3-54-g00ecf