Opened 10 years ago

Closed 10 years ago

Last modified 7 years ago

#2140 closed enhancement (fixed)

Add ErrorAlert inherited from Alert to sugar-toolkit

Reported by: m_anish Owned by: erikos
Priority: High Milestone: Unspecified
Component: Sugar Version: Unspecified
Severity: Unspecified Keywords: r+
Cc: m_anish Distribution/OS: Unspecified
Bug Status: Assigned

Description

The resolution of #1842 uses a new ErrorAlert class. This is similar to ConfirmationAlert with exception that it has only one 'Ok' button.

This alert class was coded after an elaborate design discussion on sugar-devel

The patch implementing this class is attached.

Attachments (1)

0001-Add-ErrorAlert-inherited-from-Alert.patch (2.9 KB) - added by m_anish 10 years ago.
Add ErrorAlert to graphics/alert.py

Download all attachments as: .zip

Change History (4)

comment:1 Changed 10 years ago by erikos

  • Bug Status changed from Unconfirmed to Assigned
  • Keywords r+ added; r? removed

Thanks for the patch - it looks good. Thanks for asking for feedback about the design on the mailing list, that is great habit!

I do not like the verbosity of the example, but this is true in all the module, I will try to clean it up later.

Please add yourself or the company or organization you have written the code for to the copyright at the to of the page - and please make sure #1842 gets pushed as well.

Changed 10 years ago by m_anish

Add ErrorAlert to graphics/alert.py

comment:3 Changed 7 years ago by dnarvaez

  • Component changed from sugar-toolkit to Sugar
Note: See TracTickets for help on using tickets.