[Portland-bugs] [Bug 11748] New: duplicate menu entries in gnome

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Jul 27 14:34:39 PDT 2007


http://bugs.freedesktop.org/show_bug.cgi?id=11748

           Summary: duplicate menu entries in gnome
           Product: Portland
           Version: 1.0
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: xdg-utils
        AssignedTo: portland-bugs at lists.freedesktop.org
        ReportedBy: thestig at google.com


I'm trying to use xdg-desktop-menu to add menu items to a directory under one
of the top level menus.

I ran the command:

xdg-desktop-menu install --novendor --mode system
/usr/share/desktop-directories/Games.directory bar.directory bar.desktop

On this system, some third party software package created
/usr/share/gnome/apps, so xdg-desktop-menu put a bar.desktop file there, with
"OnlyShowIn=Old;" Gnome seems to ignore this, and thus we get a second menu
entry.
(see screenshot: http://linux.ucla.edu/~leiz/freedesktop/duplicate_menu.png)

My proposed solution is to ignore /usr/share/gnome/apps if we detect a version
of Gnome that knows about .desktop files in $XDG_DATA_DIRS/applications/. I'm
guessing Gnome 2.8 and up, but I could be wrong.


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.


More information about the Portland-bugs mailing list