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 &lt;Menu&gt;
                 has been deleted. If neither &lt;Deleted&gt; nor
                 &lt;NotDeleted&gt; elements are present, the default is
-                &lt;Deleted&gt;. The purpose of this element is to support
-                menu editing.
+                &lt;NotDeleted&gt;. The purpose of this element is to support
+                menu editing. If a menu contains a &lt;Deleted&gt; element 
+                not followed by a &lt;NotDeleted&gt; 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 &lt;Menu&gt; element, delete
             its &lt;Name&gt; element, and prepend its remaining child elements
             to the destination &lt;Menu&gt; element. Then, recursively re-run
-            these merge steps on the resulting combined &lt;Menu&gt; in order to
+            the previous merge steps on the resulting combined &lt;Menu&gt; in order to
             consolidate duplicates.
+          </para>
+        </listitem>
+        <listitem>
+          <para>
+            For each &lt;Menu&gt; containing a &lt;Deleted&gt; element which is
+            not followed by a &lt;NotDeleted&gt; element, remove that menu.
           </para>
         </listitem>
       </orderedlist>



More information about the xdg mailing list