Bug#645975: alacarte: can't disable menu items

Paul C. Bryan pbryan at anode.ca
Thu Oct 20 03:40:00 UTC 2011


Package: alacarte
Version: 0.13.2-3
Severity: important

Under GNOME 3, you can no longer disable (or enable) menu items in Alacarte. Console output:

Traceback (most recent call last):
  File "/usr/share/alacarte/Alacarte/MainWindow.py", line 432, in on_item_tree_show_toggled
    self.editor.setVisible(item, False)
  File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 200, in setVisible
    menu_xml = self.__getXmlMenu(self.__getPath(item), dom, dom)
  File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 473, in __getXmlMenu
    node = self.__addXmlMenuElement(element, name, dom)
  File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 484, in __addXmlMenuElement
    return element.appendChild(node)
  File "/usr/lib/python2.7/xml/dom/minidom.py", line 1550, in appendChild
    "two document elements disallowed")
xml.dom.HierarchyRequestErr: two document elements disallowed

This may be related to bug #645470, as I see similar errors in the console.

My rationale for classifying this as important rather than normal
is because this is very commonly used functionality that has broken.

Paul

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

Kernel: Linux 3.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages alacarte depends on:
ii  gnome-menus     3.0.1-2 
ii  python          2.7.2-9 
ii  python-gmenu    3.0.1-2 
ii  python-gobject  2.28.6-5
ii  python-gtk2     2.24.0-2
ii  python-support  1.0.14  

Versions of packages alacarte recommends:
ii  gnome-panel  3.0.2-1

alacarte suggests no packages.

-- no debconf information





More information about the pkg-gnome-maintainers mailing list