Ticket #1323 (closed defect: duplicate)

Opened 4 years ago

Last modified 4 years ago

Invoke WindowPalette.popdown when menu property is None

Reported by: alsroot Owned by: tomeu
Priority: Unspecified by Maintainer Milestone: Unspecified by Release Team
Component: sugar Version: 0.85.x
Severity: Unspecified Keywords:
Cc: Distribution/OS: Ubuntu
Bug Status: Unconfirmed

Description

PPA:  https://launchpad.net/~alsroot/+archive/sugar-0.86

Can't find 100% way to reproduce this bug.

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/gtk-2.0/gobject/__init__.py", line 101, in obj_set_property
    prop.setter(self, value)
  File "/usr/lib/pymodules/python2.6/sugar/graphics/palettewindow.py", line 645, in set_palette
    self._palette.popdown(immediate=True)
  File "/usr/lib/pymodules/python2.6/sugar/graphics/palette.py", line 204, in popdown
    self._popdown_submenus()
  File "/usr/lib/pymodules/python2.6/sugar/graphics/palette.py", line 212, in _popdown_submenus
    for menu_item in self.menu.get_children():
AttributeError: 'NoneType' object has no attribute 'get_children'

Change History

Changed 4 years ago by alsroot

  • status changed from new to closed
  • resolution set to duplicate

dup of #1338

Note: See TracTickets for help on using tickets.