Skip to content
Snippets Groups Projects
Commit bed206eb authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

urls and mail adresses are now underlined

parent 0e6e7d27
No related branches found
No related tags found
No related merge requests found
......@@ -432,9 +432,11 @@ class tabbed_chat_window:
tag.set_property('foreground', color)
if special == 'mail':
tag.set_property('foreground', '#0000ff')
tag.set_property('underline', pango.UNDERLINE_SINGLE)
tag.connect('event', self.hyperlink_handler, 'mail')
elif special == 'url':
tag.set_property('foreground', '#0000ff')
tag.set_property('underline', pango.UNDERLINE_SINGLE)
tag.connect('event', self.hyperlink_handler, 'url')
elif special == 'italic':
tag.set_property('style', pango.STYLE_ITALIC)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment