[Bugs] #4251 sugar-toolkit-gtk3 UNSP: TypeError using alerts

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Tue Nov 20 08:21:57 EST 2012


#4251: TypeError using alerts
------------------------------------------+---------------------------------
    Reporter:  humitos                    |          Owner:  erikos                     
        Type:  defect                     |         Status:  new                        
    Priority:  Unspecified by Maintainer  |      Milestone:  Unspecified by Release Team
   Component:  sugar-toolkit-gtk3         |        Version:  Unspecified                
    Severity:  Unspecified                |       Keywords:  regression                 
Distribution:  Unspecified                |   Status_field:  Unconfirmed                
------------------------------------------+---------------------------------
 Steps to reproduce it:

  1. Open Browse
  1. Download a file

 Issue:

 This appears in the log

 {{{
   File "/usr/lib/python2.7/site-packages/sugar3/graphics/alert.py", line
 354, in __draw_cb
     self._draw(context)
   File "/usr/lib/python2.7/site-packages/sugar3/graphics/alert.py", line
 373, in _draw
     color = widget_style.get_background_color(self.get_state())
   File "/usr/lib/python2.7/site-packages/gi/types.py", line 47, in
 function
     return info.invoke(*args, **kwargs)
 TypeError: Expected a Gtk.StateFlags, but got GtkStateType
 }}}

 Environment:

 13.1.0 - os13 - xo-4

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


More information about the Bugs mailing list