use correct color for links in received XHTML messages. Fixes #5411

This commit is contained in:
Yann Leboulanger 2009-11-06 08:19:32 +01:00
parent ea5429b248
commit bf46c5dd12
1 changed files with 1 additions and 1 deletions

View File

@ -473,7 +473,7 @@ class HtmlHandler(xml.sax.handler.ContentHandler):
tag.href = href
tag.type_ = type_ # to be used by the URL handler
tag.connect('event', self.textview.html_hyperlink_handler, 'url', href)
tag.set_property('foreground', '#0000ff')
tag.set_property('foreground', gajim.config.get('urlmsgcolor'))
tag.set_property('underline', pango.UNDERLINE_SINGLE)
tag.is_anchor = True
if title: