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

Mark McLoughlin markmc at redhat.com
Fri Mar 18 09:39:02 EET 2005


Hi Waldo,

On Thu, 2005-03-17 at 23:16 +0100, Waldo Bastian wrote:
> 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?

	The regression test passes fine with gnome-menus.

Cheers,
Mark.




More information about the xdg mailing list