Old Gnome menus not being fully recognised

Mike Hearn mh at codeweavers.com
Mon Jan 10 10:58:43 CST 2005

On Mon, 10 Jan 2005 17:16:16 +0100, Sebastien Bacher wrote:
> The current code in hoary use the xdg freedesktop specification and the
> vfolder method has been removed from gnomevfs.

Right, I see that now. I think I also see the problem. Here is a bit of
the code from Crossover:

# Special case for Fedora Core 2.  
#   This is really quite hairy.  Basically, Fedora Core 2, Test 3,
#   had started to shift over to using the new XDG menus.  This was
#   a Good Thing (TM), except it wasn't fully done.  Specifically,
#   the support for LegacyDir of ~/.gnome/apps and/or ~/.kde/share/applnk
#   wasn't quite there.  Further, although a LegacyDir of /usr/share/gnome/apps
#   is specified, that directory doesn't exist by default, and so we
#   don't populate it.
#   Hence, no menus in Gnome for FC2.  Now one fix is to fix this
#   so we point to the ~/.gnome/apps as a legacy dir, or to just mkdir
#   /usr/share/gnome/apps.  But then we get
#   duplicate menu entries in KDE.  If we just point to the kde dirs,
#   then we get extra KDE menu entries in the Gnome menus.
#   So, we make a special bucket, just for this purpose, and we
#   create the legacy Gnome menus over in that special bucket, and
#   point the new XDG menus over to it.
if [ -f /etc/fedora-release -a -d /etc/xdg/menus ] ; then

So basically we don't use XDG menus for anything except Fedora Core right now.
I think Mark will just have to wait until Hoary comes out, and a new Crossover
release is out, and upgrade then. Or try and hack his menu setup manually.

Sorry guys ... sounds like something which will be fixed maybe by the summer.
Once Hoary is out and we get around to regression testing the menu code against
various distros that will almost certainly include Ubuntu.

thanks -mike

More information about the ubuntu-devel mailing list