summaryrefslogtreecommitdiffstats
path: root/desktop-entry
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2007-04-28 13:45:54 +0000
committerVincent Untz <vuntz@gnome.org>2007-04-28 13:45:54 +0000
commit47f5606dc7ae797b74567666b0734b7ee25c7d87 (patch)
tree9017e6a0788055e058c615627752b80cf267fd4e /desktop-entry
parent07091e8c03b7e9240ae6ec1f4dfe872e034d47b7 (diff)
downloadxdg-specs-47f5606dc7ae797b74567666b0734b7ee25c7d87.tar.xz
a desktop file of type Application should always have an Exec key. Same
2007-04-28 Vincent Untz <vuntz@gnome.org> * 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
Diffstat (limited to 'desktop-entry')
-rw-r--r--desktop-entry/ChangeLog6
-rw-r--r--desktop-entry/desktop-entry-spec.xml11
2 files changed, 15 insertions, 2 deletions
diff --git a/desktop-entry/ChangeLog b/desktop-entry/ChangeLog
index da220e1..2dd9562 100644
--- a/desktop-entry/ChangeLog
+++ b/desktop-entry/ChangeLog
@@ -1,5 +1,11 @@
2007-04-28 Vincent Untz <vuntz@gnome.org>
+ * 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 <vuntz@gnome.org>
+
* desktop-entry-spec.xml: desktop files of type Directory have a
.directory extension right now (at least in GNOME), but according to
the spec, this is wrong. The patch fixes this. Also, it removes 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
@@ -333,6 +333,13 @@
<constant>Application</constant>.
</para>
<para>
+ 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 <varname>URL</varname> key has to be
+ present when and only when when the value of the <varname>Type</varname>
+ key is <constant>Link</constant>.
+ </para>
+ <para>
Some example keys: <varname>Name[C]</varname>, <varname>Comment[it]</varname>.
</para>
<table>
@@ -476,7 +483,7 @@
Program to execute, possibly with arguments.
</entry>
<entry>string</entry>
- <entry>NO</entry>
+ <entry>YES</entry>
<entry>1</entry>
</row>
<row>
@@ -549,7 +556,7 @@
If entry is Link type, the URL to access.
</entry>
<entry>string</entry>
- <entry>NO</entry>
+ <entry>YES</entry>
<entry>2</entry>
</row>
</tbody>