Question on menus

Ryan Daly daly at ctcnet.net
Thu Nov 1 20:13:52 CET 2007


On Thu, 2007-11-01 at 11:00 -0700, Brian J. Tarricone wrote:
> > BUT, I did find that if you do not include the system menu (via the 
> > include tag), the above menu will not show up.
> 
> Of course it won't.  The system menu is what parses .desktop files.
> Without the system menu, you just have whatever's in your menu.xml, and
> nothing else.

OK - makes sense.

> > Also, if the above menu is added as a submenu, it does not show up.
> 
> You need to not set toplevel="true" on your new category, and then add a 
> <subcategory> tag to the parent menu category's <category> tag. 
> Experiment a bit: it's been a long time since I wrote this code (a good 
> 3 years), so I don't quite remember how it works (and it may not 
> actually work, but I can't be bothered to fix it).

I'm OK with how it is for now.  I can get to all of my personal menu
items.  Especially after reading what you have below...

> > It appears that there still needs to be some work on including menus 
> > of this type, unless I'm missing something, which is entirely 
> > possible.
> 
> 4.6 will feature a brand-new menu system that actually conforms to the 
> fd.o spec rather than just the parts of it that fit into our existing 
> menu system from 4.0.  If you'd like a preview, go and fetch 
> libxfce4menu and xfdesktop from Xfce SVN.  Though it's somewhat buggy 
> and not all features are supported yet.

Good to know.  Thanks for the insight.  Does 4.6 have a time-frame for
being released?




More information about the Xfce mailing list