[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[menus] <Deleted> element



Hi,

Getting back to this a bit at a time.

Havoc

Index: draft/menu-spec.sgml
===================================================================
RCS file: /home/freedesktop/web/content/standards/menu/draft/menu-spec.sgml,v
retrieving revision 1.10
diff -u -p -u -r1.10 menu-spec.sgml
--- draft/menu-spec.sgml        6 Dec 2002 18:35:30 -0000       1.10
+++ draft/menu-spec.sgml        16 Dec 2002 03:02:57 -0000
@@ -482,6 +482,20 @@ entries</ulink>: <varname>Categories</va
             </listitem>
           </varlistentry>
           <varlistentry>
+            <term>&lt;Deleted&gt; and &lt;NotDeleted&gt;</term>
+            <listitem>
+              <para>
+                Each &lt;Menu&gt; may contain any number of &lt;Deleted&gt; and
+                &lt;NotDeleted&gt; elements. Only the last such element to
+                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.
+              </para>
+            </listitem>
+          </varlistentry>
+          <varlistentry>
             <term>&lt;Include&gt;</term>
             <listitem>
               <para>
@@ -1295,11 +1309,7 @@ entries</ulink>: <varname>Categories</va
         moved to instead move things into the folder's new location.
       </para>
       <para>
-        To delete a folder, simply exclude all its contents with
-        &lt;Exclude&gt;&lt;All/&gt;&lt;/Exclude&gt;.
-        (FIXME this doesn't work, because we need to have a concept of
-        an "empty folder" in addition to the idea of a deleted folder.
-        So I think we need a &lt;Deleted&gt; element.)
+        To delete a folder, simply append the &lt;Deleted&gt; element.
       </para>
       <para>
         Menu editors probably need to do some kind of consolidation/compression





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]