Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#4251 closed defect (fixed)

TypeError using alerts

Reported by: humitos Owned by: manuq
Priority: Unspecified by Maintainer Milestone:
Component: Sugar Version: Unspecified
Severity: Unspecified Keywords: regression, r+, olpc-testing-pending
Cc: erikos Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

Steps to reproduce it:

  1. Open Browse
  2. 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

Attachments (1)

0001-Alert-fix-for-traceback-in-the-draw-SL-4251.patch (1.3 KB) - added by manuq 11 years ago.
Patch.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 11 years ago by manuq

  • Owner changed from erikos to manuq
  • Status changed from new to assigned

comment:2 Changed 11 years ago by manuq

  • Cc erikos added
  • Keywords r? added

comment:3 Changed 11 years ago by dsd

  • Milestone changed from Unspecified by Release Team to 0.98

comment:4 Changed 11 years ago by erikos

  • Keywords r+ added; r? removed

Cool, thanks for the patch.

comment:5 Changed 11 years ago by erikos

  • Keywords olpc-testing-pending added
  • Resolution set to fixed
  • Status changed from assigned to closed

comment:6 Changed 11 years ago by dnarvaez

  • Component changed from sugar-toolkit-gtk3 to Sugar

comment:7 Changed 11 years ago by dnarvaez

  • Milestone 0.98 deleted

Milestone 0.98 deleted

Note: See TracTickets for help on using tickets.