summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--desktop-entry/ChangeLog8
-rw-r--r--desktop-entry/desktop-entry-spec.xml6
2 files changed, 13 insertions, 1 deletions
diff --git a/desktop-entry/ChangeLog b/desktop-entry/ChangeLog
index 28371ff..18e64dc 100644
--- a/desktop-entry/ChangeLog
+++ b/desktop-entry/ChangeLog
@@ -1,5 +1,13 @@
2007-04-28 Vincent Untz <vuntz@gnome.org>
+ * desktop-entry-spec.xml:clarify a bit the text about keys that only
+ makes sense in a specific context. Also, state that the keys should
+ not be used outside of this context. For example, the URL key should
+ not be present if the type is not Link.
+ http://lists.freedesktop.org/archives/xdg/2007-March/009437.html
+
+2007-04-28 Vincent Untz <vuntz@gnome.org>
+
* desktop-entry-spec.xml: small typo
http://lists.freedesktop.org/archives/xdg/2007-March/009437.html
diff --git a/desktop-entry/desktop-entry-spec.xml b/desktop-entry/desktop-entry-spec.xml
index 91d3dd0..73006a9 100644
--- a/desktop-entry/desktop-entry-spec.xml
+++ b/desktop-entry/desktop-entry-spec.xml
@@ -326,7 +326,11 @@
</para>
<para>
Some keys only make sense in the context when another particular key
- is also present.
+ is also present and set to a specific value. Those keys should not be
+ used if the particular key is not present or not set to the specific
+ value. For example, the <varname>Terminal</varname> key can only be used
+ when the value of the <varname>Type</varname> key is
+ <constant>Application</constant>.
</para>
<para>
Some example keys: <varname>Name[C]</varname>, <varname>Comment[it]</varname>.