menu spec: [menu-file-basename]-merged directory

Waldo Bastian bastian at kde.org
Fri Mar 18 00:16:18 EET 2005


On Thursday 17 March 2005 17:23, Matt Kynaston wrote:
> Thanks.Waldo
>
> > It allows third parties to install extensions to the menu.
>
> You mean like a submenu? Gotcha. Don't know how I missed that :|
>
> Doesn't solve my initial problem, though... Apologies if what follows is
> long.
>
> As a workaround, I've tried to create a
> ~/.config/menus/applications.menu that contains just:
>       <!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
>         "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
>        <Menu>
>          <Name>Applications</Name>
>          <MergeFile>/etc/xdg/menus/applications.menu</MergeFile>
>          <MergeFile>menu-editor.menu</MergeFile>
>        </Menu>
>
> Interestingly, both gnome-menus and pyxdg's (and I suspect KDE's)
> implementation here is broken - according to the specs: "If the
> filename given as a <MergeFile> is not an absolute path, it should be
> located relative to the location of the menu file being parsed." Yet
> neither work properly unless menu-editor.menu is in my
> applications-merged dir - which means also means it gets merged twice

Seems to work fine in KDE. I have added regression test p for this. Can you 
check if that really doesn't work?

Cheers,
Waldo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/xdg/attachments/20050317/3416b39a/attachment.pgp 


More information about the xdg mailing list