On Sat, Feb 28, 2009 at 9:06 AM, Terry Brown <[email protected]>wrote:

>
> On Sat, 28 Feb 2009 08:07:46 -0600
> "Edward K. Ream" <[email protected]> wrote:
>
> > On Thu, Feb 26, 2009 at 2:48 PM, Terry Brown
> > <[email protected]>wrote:
> >
> > >
> > > Ubuntu 8.10 doesn't have /etc/X11/rgb.txt like previous versions
> > > have done, and consequently seems to be constantly saying:
> > >
> > > QColor::setNamedColor: Unknown color name 'DodgerBlue1'
> > >
> > > (every time it flashes bracket matches)
> > >
> > > I'm not sure who's at fault here.
> >
> >
> > Neither am I.
> >
> > There is a small hack in the setTag method that removes a trailing
> > digit from color names. This hack does not exist in flashCharacter.
> > Does stripping a trailing digits in flashCharacter make the message
> > go away?
>
> Yes, I just added the two rstrips below...
>
> def flashCharacter(self,i,bg='white',fg='red',flashes=3,delay=75):
>
>    bg = bg.rstrip('0123456789')
>    fg = fg.rstrip('0123456789')
>
> and now there's no message and it flashes blue on black instead of black
> on black.
>
> Shall I push that?


Please do.  Just run all unit tests first.  Thanks.

Edward

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/leo-editor?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to