trivial <Deleted> patch
Havoc Pennington
hp at redhat.com
Sun Jun 1 02:22:47 EEST 2003
Hi,
I think the description of Deleted was backward/unclear, so made
some tweaks. If I'm confused let me know.
Havoc
Index: standards/menu/draft/menu-spec.sgml
===================================================================
RCS file: /home/freedesktop/web/content/standards/menu/draft/menu-spec.sgml,v
retrieving revision 1.15
diff -u -p -u -r1.15 menu-spec.sgml
--- standards/menu/draft/menu-spec.sgml 29 Apr 2003 20:28:07 -0000 1.15
+++ standards/menu/draft/menu-spec.sgml 31 May 2003 23:15:57 -0000
@@ -3,8 +3,8 @@
<article id="index">
<artheader>
<title>Desktop Menu Specification</title>
- <releaseinfo>Version 0.3</releaseinfo>
- <date>29 April 2003</date>
+ <releaseinfo>Version 0.4</releaseinfo>
+ <date>31 May 2003</date>
<authorgroup>
<author>
<firstname>Waldo</firstname>
@@ -460,8 +460,10 @@ entries</ulink>: <varname>Categories</va
appear is relevant, as it determines whether the <Menu>
has been deleted. If neither <Deleted> nor
<NotDeleted> elements are present, the default is
- <Deleted>. The purpose of this element is to support
- menu editing.
+ <NotDeleted>. The purpose of this element is to support
+ menu editing. If a menu contains a <Deleted> element
+ not followed by a <NotDeleted> element, that menu
+ should be ignored.
</para>
</listitem>
</varlistentry>
@@ -828,8 +830,14 @@ entries</ulink>: <varname>Categories</va
If both paths exist, take the origin <Menu> element, delete
its <Name> element, and prepend its remaining child elements
to the destination <Menu> element. Then, recursively re-run
- these merge steps on the resulting combined <Menu> in order to
+ the previous merge steps on the resulting combined <Menu> in order to
consolidate duplicates.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ For each <Menu> containing a <Deleted> element which is
+ not followed by a <NotDeleted> element, remove that menu.
</para>
</listitem>
</orderedlist>
More information about the xdg
mailing list