Bug#479761: gnome-menus cannot handle sub-categories with same name

Ximin Luo xl269 at cam.ac.uk
Tue May 6 14:28:34 UTC 2008


Package: gnome-menus
Version: 2.22.1-1
Severity: important

This bug is related to:
#444587 - a symptom of this bug
#478839 - not actually fixed, due to this bug

gnome-menus cannot handle subcategories which have the same name. for example:

the existence of the Debian/Games/Board category (defined at 
/var/lib/menu-xdg/desktop-directories/menu-xdg/debian-games-board.directory) BLOCKS the display (and 
the subsequent categorisation of its children into it) of the Games/Board category (defined at
/usr/share/desktop-directories/BoardGames.directory)

This can be easily verified by installing a "board game", eg gnome-mastermind. Its subcategory, "Games/Board", 
fails to show up in the menu, because of the conflicting "Debian/Games/Board" category.

$ tail -n1 /usr/share/applications/gnome-mastermind.desktop 
Categories=GNOME;GTK;Game;BoardGame;

On the other hand, installing a "logic game", eg golly, *does* make the subcategory "Games/Logic" show up, 
because there is no conflicting "Debian/Games/Logic" category (or any other categories named "logic")

$ tail -n1 /usr/share/applications/golly.desktop 
Categories=Game;LogicGame;

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gnome-menus depends on:
ii  python                        2.5.2-1    An interactive high-level object-o
ii  python-glade2                 2.12.1-1   GTK+ bindings: Glade support
ii  python-gmenu                  2.22.1-1   an implementation of the freedeskt

gnome-menus recommends no packages.

-- no debconf information






More information about the pkg-gnome-maintainers mailing list