Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#1323 closed defect (duplicate)

Invoke WindowPalette.popdown when menu property is None

Reported by: alsroot Owned by: tomeu
Priority: Unspecified by Maintainer Milestone: Unspecified
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 (2)

comment:1 Changed 10 years ago by alsroot

  • Resolution set to duplicate
  • Status changed from new to closed

dup of #1338

Note: See TracTickets for help on using tickets.