name the colors with their names

This commit is contained in:
Nikos Kouremenos 2005-11-29 18:43:35 +00:00
parent c9e30fd612
commit a79587590f
1 changed files with 3 additions and 3 deletions

View File

@ -87,7 +87,7 @@ class ConversationTextview(gtk.TextView):
tag.set_property('weight', pango.WEIGHT_BOLD)
tag = buffer.create_tag('time_sometimes')
tag.set_property('foreground', '#9e9e9e')
tag.set_property('foreground', 'grey')
tag.set_property('scale', pango.SCALE_SMALL)
tag.set_property('justification', gtk.JUSTIFY_CENTER)
@ -99,12 +99,12 @@ class ConversationTextview(gtk.TextView):
tag.set_property('foreground', color)
tag = buffer.create_tag('url')
tag.set_property('foreground', '#0000ff')
tag.set_property('foreground', 'blue')
tag.set_property('underline', pango.UNDERLINE_SINGLE)
tag.connect('event', self.hyperlink_handler, 'url')
tag = buffer.create_tag('mail')
tag.set_property('foreground', '#0000ff')
tag.set_property('foreground', 'blue')
tag.set_property('underline', pango.UNDERLINE_SINGLE)
tag.connect('event', self.hyperlink_handler, 'mail')