Bug#490338: [alacarte] alacarte uses a menu_id, which is not unique

Lars Kruse devel at sumpfralle.de
Tue Dec 22 13:57:32 UTC 2009


Package: alacarte
Version: 0.12.4-1

--- Please enter the report below this line. ---

Hi,

alacarte currently uses a non-unique menu_id, when adding new items (or menus).

This causes any new item will be placed under the first menu with a matching id
(usually under the debian menu tree).
E.g. the menu id "graphics" is available as a top-level menu (visible in
the application menu) and as a lower-level menu (below the debian tree).

The attached patch fixes this by using the specific destination menu object
instead of its id.

The following bugs seem to be duplicates of this one and should be merged (I
don't know how to do it):
 - #444317
 - #461318

thanks for your work,
Lars

--- System information. ---
Architecture: i386
Kernel:       Linux 2.6.30-2-686

Debian Release: squeeze/sid
  990 testing         localhost 

--- Package information. ---
Depends               (Version) | Installed
===============================-+-=============
python                 (>= 2.4) | 2.5.4-2
python-support      (>= 0.90.0) | 1.0.6
python-gtk2         (>= 2.13.0) | 2.16.0-1
python-gmenu       (>= 2.27.92) | 2.28.0.1-1
gnome-menus        (>= 2.27.92) | 2.28.0.1-1
python-gobject      (>= 2.15.1) | 2.20.0-1


Recommends       (Version) | Installed
==========================-+-===========
gnome-panel                | 2.28.0-3


Package's Suggests field is empty.

-- 

gpg key: https://systemausfall.org/schluessel/lars-devel.0.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix_position_of_new_items_and_menus.patch
Type: text/x-patch
Size: 3879 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20091222/5b583864/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20091222/5b583864/attachment.pgp>


More information about the pkg-gnome-maintainers mailing list