Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97839 - gnome-menus: /etc/xdg/menus/preferences.menu should take legacy items from /usr/share/gnome/capplets/ and /usr/share/control-center-2.0/capplets (xscreensaver, gdmphotosetup, etc.)
Summary: gnome-menus: /etc/xdg/menus/preferences.menu should take legacy items from /u...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] GNOME (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 101601 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-07-03 10:26 UTC by Ed Catmur
Modified: 2005-08-08 22:22 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Catmur 2005-07-03 10:26:58 UTC
Currently the Gnome preferences menu does not display items from /usr/share/gnome/capplets/ and /usr/share/control-center-2.0/capplets.

In particular, this means that the items for xscreensaver, gdmphotosetup and gnome-pilot are omitted (among others).

This could be corrected by fixing the offending applications but it would probably be simpler to insert LegacyDir entries in /etc/xdg/menus/preferences.menu:

  <LegacyDir>/usr/share/control-center-2.0/capplets</LegacyDir>
  <LegacyDir>/usr/share/gnome/capplets</LegacyDir>

Using: gnome-menus-2.10.2, gdm-2.6.0.9-r3, xscreensaver-4.22-r2, etc.
Comment 1 foser (RETIRED) gentoo-dev 2005-07-22 13:55:02 UTC
These entries already exists in my preferences.menu , same gnome-menus version.
Comment 2 Dave Shanker 2005-07-26 20:29:09 UTC
I'm running Xscreensaver 4.22-r2, gnome-2.10.1, and gnome-menu-2.10.1 and my
/etc/xdg/menus/preferences.menu does not contain entries to search
/usr/share/control-center-2.0/capplets and /usr/share/gnome/capplets. 

Looking at the config file, it looks as though the default location for these
files are /usr/share/applications now. Maybe we need to patch the makefile for
XScreensaver to install in this location until they fix it upstream?
Comment 3 foser (RETIRED) gentoo-dev 2005-08-01 03:54:15 UTC
please, try with the latest gnome-menus in portage, that would be the place to
fix it. Anyway, I don't understand how you could have a different
preferences.menu than I got here with the same version of the package. Ed, could
you work that out ?
Comment 4 Shyam Mani (RETIRED) gentoo-dev 2005-08-05 23:31:19 UTC
Same happens here. In fact, my xscreensaver icon went missing from 2.10.1 IIRC
from the Desktop -> Preferences menu.
Comment 5 Brad Laue (RETIRED) gentoo-dev 2005-08-07 00:27:43 UTC
Confirmed here as well. Using gnome-menus-2.10.1, no indication of those
directories present in preferences.menu, and xscreensaver's icon is missing from
the appropriate location.

If the legacy dirs are in 2.10.2 can we rush that into some sort of stable keyword?
Comment 6 Shyam Mani (RETIRED) gentoo-dev 2005-08-07 01:42:04 UTC
(In reply to comment #5)
> If the legacy dirs are in 2.10.2 can we rush that into some sort of stable
keyword?

2.10.2 has the same issue as well. So we need to figure out what the issue is....

Comment 7 Leonardo Boshell (RETIRED) gentoo-dev 2005-08-07 06:33:11 UTC
*** Bug 101601 has been marked as a duplicate of this bug. ***
Comment 8 Jason Bucata 2005-08-07 09:54:13 UTC
I added the two lines above to mine and it's fine now.

(In reply to comment #3)
> Anyway, I don't understand how you could have a different
> preferences.menu than I got here with the same version of the package.

I looked at the tarballs for 2.10.[12] and both had what I had installed
previously, missing those two lines.  I did a reemerge of 2.10.1 and etc-update
wanted to replace my fixed version with the old version.  Is it possible that
your config file handling is different somehow?
Comment 9 Leonardo Boshell (RETIRED) gentoo-dev 2005-08-08 22:22:51 UTC
I've committed gnome-menus-2.10.2-r1, which includes a patch that adds the
entries listed on the original report. Personally, I don't think it should be
rushed into stable, so originally it'll stay in testing with the rest of the
GNOME 2.10.2 packages.

Thanks.