libxfce4menu and <OnlyUnallocated> tag

Jannis Pohlmann jannis at xfce.org
Wed Apr 4 01:04:32 CEST 2007


Hey,

Am Tue, 3 Apr 2007 20:12:30 +0200
schrieb Jannis Pohlmann <jannis at xfce.org>:

> Hey,
> 
> Am Tue, 3 Apr 2007 10:26:38 +0200
> schrieb Martin Kraus <lists_mk at wujiman.net>:
> 
> > And hello again. 
> >   this time  i can't get the <OnlyUnallocated> tag to work. I've
> > made a testing case using automaticaly generated  xdg menu on
> > Debian. It scans the Debian menu system and creates xdg menu
> > entries in
> > $HOME/.local/share/{applications,desktop-directories}/menu-xdg
> > 
> > my menu file is:
> > 
> > <!DOCTYPE Menu PUBLIC "-//freedesktop//DTD Menu 1.0//EN"
> >   "http://www.freedesktop.org/standards/menu-spec/1.0/menu.dtd">
> > 
> > <Menu>
> >   <Name>UserMenu</Name>
> >   <DirectoryDir>/home/martin/.local/share/desktop-directories/menu-xdg</DirectoryDir>
> >   <AppDir>/home/martin/.local/share/applications/menu-xdg</AppDir>
> >   <Include>
> >     <Category>X-Debian-Apps-Net</Category>
> >   </Include>
> > 
> >   <Menu>
> >     <Name>System</Name>
> >     <Include>
> >       <Category>X-Debian-Apps-System</Category>
> >     </Include>
> >   </Menu>
> > 
> >   <Menu>
> >     <Name>Other</Name>
> >     <OnlyUnallocated/>
> >     <Include>
> >       <All/>
> >     </Include>
> >   </Menu>
> > 
> > </Menu>
> > 
> > 
> > It includes X-Debian-Apps-Net (13 entries) in the root menu,
> > X-Debian-Apps-System (7 entries) in the "System" menu and the rest
> > (67-13-7=47 entries) should go in the "Other" menu. It doesn't
> > display this menu however. If I change this to <NotOnlyUnallocated/>
> > then all the entries are included.  So the menu system can see those
> > desktop entry files. I've found this because the default
> > xfce-applications.menu includes "Other" menu similar to this that
> > doesn't work either.

http://rafb.net/p/afUm3o99.html - as you can see I don't have this
problem. The 'Others' menu of xfdesktop also works here.

  - Jannis
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.xfce.org/pipermail/xfce/attachments/20070404/aa5f367b/attachment.pgp>


More information about the Xfce mailing list