summaryrefslogtreecommitdiff
path: root/desktop-entry
diff options
context:
space:
mode:
authorVincent Untz <vuntz@gnome.org>2007-04-28 13:42:05 +0000
committerVincent Untz <vuntz@gnome.org>2007-04-28 13:42:05 +0000
commit8f2cfbf0a08d270a5f3d8ed7ca49341b8bbfa174 (patch)
treebe009cf708de48b37a7d9337cecc059f23d16c97 /desktop-entry
parent7959592681302aa33f401a65e5aa786e92c481c2 (diff)
clarify a bit the text about keys that only makes sense in a specific
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
Diffstat (limited to 'desktop-entry')
-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>.