[Bugs] #1323 UNSP: Invoke WindowPalette.popdown when menu property is None

SugarLabs Bugs bugtracker-noreply at sugarlabs.org
Fri Sep 11 15:55:59 EDT 2009


#1323: Invoke WindowPalette.popdown when menu property is None
------------------------------------------+---------------------------------
    Reporter:  alsroot                    |          Owner:  tomeu                      
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar                      |        Version:  0.85.x                     
    Severity:  Unspecified                |       Keywords:                             
Distribution:  Ubuntu                     |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 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'
 }}}

-- 
Ticket URL: <http://dev.sugarlabs.org/ticket/1323>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list