[Sugar-devel] [PATCH] Add NotifyRedAlert inherited from NotifyAlert

2010-06-13 Thread anishmangal2002
From: anishmangal2002 anishmangal2...@gmail.com Adds the NotifyRedAlert class which is an alert inherited from NotifyAlert. When the alert message is displayed, it glows the alert bar Red before slowly fading out to black, thus resulting in a more visible notification. Signed-off-by:

Re: [Sugar-devel] [PATCH] Add NotifyRedAlert inherited from NotifyAlert

2010-06-13 Thread Michael Stone
On Mon, Jun 14, 2010 at 02:51:23AM +0530, anishmangal2...@gmail.com wrote: Hi Anish, Thanks for the patches. Here are one small question and one comment for you... From: anishmangal2002 anishmangal2...@gmail.com Adds the NotifyRedAlert class which is an alert inherited from NotifyAlert. When

Re: [Sugar-devel] [PATCH] Add NotifyRedAlert inherited from NotifyAlert

2010-06-13 Thread Anish Mangal
Hi Michael, Is this alert really about being red or about notifying the user about errors in a more eyecatching fashion? I guess the latter. The value of the color variable can be more concisely calculated like so: color = #%02x % self.saturation Thanks, made the change. Cheers,