How about geting the list of folders from the same place that the default gnome-menubar thing gets it?
Because I just readded it to check - and surprise - it doesn't have superfluous entries.
Stuff like that should be in gnome-panel-2.30.0 sources -> gnome-panel -> panel-menu-bar.c I guess.
I'll take a look at it and post if I find something.
How about geting the list of folders from the same place that the default gnome-menubar thing gets it?
Because I just readded it to check - and surprise - it doesn't have superfluous entries.
Stuff like that should be in gnome-panel-2.30.0 sources -> gnome-panel -> panel-menu-bar.c I guess.
I'll take a look at it and post if I find something.