Error in menu-spec example
Waldo Bastian
bastian at kde.org
Fri Dec 12 19:22:33 EET 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Fri December 12 2003 18:11, Frederic Crozat wrote:
> > > -in the same idea, there is no <KDELegacyDirs> test.
> >
> > That might be difficult since kde-config will return the compiled-in
> > install path for $KDEDIR/share/apps/applnk, so it will be hard to create
> > a controlled test environment. It is bound to pick up whatever (legacy)
> > parts of KDE you have installed.
>
> Indeed.. However, I've checked desktop-file-utils implementation and
> ATM, it only checks for KDE legacy dirs as subdirectories called
> "applnk" of XDG_DATA_DIRS lists. Or maybe we could provide our own
> "kde-config" in the test suite and override PATH for the tests ?
Good idea indeed, will come up with a test then.
> Sorry, I mean the example in "Legacy Menu Hierarchies", which should be
> (if I'm not wrong) :
>
> <!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 0.8//EN"
> "http://www.freedesktop.org/standards/menu-spec/menu-0.8.dtd">
>
> <Menu>
> <AppDir>/usr/share/applnk</AppDir>
> <DirectoryDir>/usr/share/applnk</DirectoryDir>
> <Directory>.directory</Directory>
> <Include>
> <Filename>bar.desktop</Filename>
> </Include>
> <Menu>
> <Name>System</Name>
> <AppDir>/usr/share/applnk/System</AppDir>
> <DirectoryDir>/usr/share/applnk/System</DirectoryDir>
> <Directory>.directory</Directory>
> <Include>
> <Filename>foo.desktop</Filename>
> </Include>
> </Menu>
> </Menu>
Indeed. Will change.
Cheers,
Waldo
- --
bastian at kde.org -=|[ KDE: K Desktop for the Enterprise ]|=- bastian at suse.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE/2flaN4pvrENfboIRAhyzAJoCE9pXxVUNLfIWnYJvl8HR3VkiyQCePsnb
245yr4AEvNzxRPi9Ea6GXlc=
=E9Td
-----END PGP SIGNATURE-----
More information about the xdg
mailing list