! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Gnumeric has two menu entries on Xubuntu Natty
Status:
RESOLVED: INVALID

Comments

Description charlie-tca 2011-02-01 00:42:00 CET
Upon installation of Xubuntu from the daily-live image created on Jan 29, 2011 the program Gnumeric presents itself with two menu entries. One is in the Office category and one is in the Science category. The version is Gnumeric 1.10.2-ubuntu2 if that helps.

This double entry is not present without Xfce4.8 installed.
Comment 1 Lionel Le Folgoc 2011-02-01 07:39:05 CET
Mmmh, I'm not sure it's a bug in garcon after all. Quoting the spec (http://standards.freedesktop.org/menu-spec/menu-spec-latest.html):

Desktop entries should list all categories that clearly apply. They should not list categories that only vaguely or possibly apply, because the user will end up seeing the same desktop entry in a half-dozen places. But it's typical that several categories will apply to a given desktop entry. 

So I think garcon behaves correctly.
I think what you want can be achieved using a few <OnlyUnallocated/> (cf. http://standards.freedesktop.org/menu-spec/menu-spec-latest.html#menu-file-format).
Comment 2 Lionel Le Folgoc 2011-02-01 10:19:18 CET
Yep, I double checked, the spec is like that.

Bug #7223

Reported by:
charlie-tca
Reported on: 2011-02-01
Last modified on: 2011-02-01

People

Assignee:
Jannis Pohlmann
CC List:
1 user

Version

Attachments

Additional information