.hidden files and <LegacyDir>
Mark McLoughlin
markmc at redhat.com
Tue Mar 8 20:24:32 EET 2005
Hi Waldo,
Does KDE hide legacy directories which contain a .hidden file? If so,
does this addition to the spec sound right?
Idea is that the (theoretical) XML generated for the <LegacyDir>
depends on whether .hidden files exist.
Cheers,
Mark.
Index: menu-spec.xml
===================================================================
RCS file: /cvs/menus/menu-spec/menu-spec.xml,v
retrieving revision 1.23
diff -u -p -r1.23 menu-spec.xml
--- menu-spec.xml 10 Feb 2005 15:25:10 -0000 1.23
+++ menu-spec.xml 8 Mar 2005 18:23:12 -0000
@@ -1117,6 +1117,12 @@ entries</ulink>: <varname>Categories</va
</listitem>
<listitem>
<para>
+ If the legacy directory contains a ".hidden" file, then no
+ <Menu> should be generated.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
If the legacy directory contains a ".directory" file, then
a <Directory> element should be generated that points to said
".directory" file.
@@ -1143,6 +1149,9 @@ entries</ulink>: <varname>Categories</va
/usr/share/applnk
/usr/share/applnk/.directory
/usr/share/applnk/bar.desktop
+ /usr/share/applnk/Internet
+ /usr/share/applnk/Internet/.hidden
+ /usr/share/applnk/Internet/blaa.desktop
/usr/share/applnk/System
/usr/share/applnk/System/.directory
/usr/share/applnk/System/foo.desktop
More information about the xdg
mailing list