From bed206eb0ebc389525594e2f953b10cee1733e36 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 9 Mar 2005 22:32:20 +0000 Subject: [PATCH] urls and mail adresses are now underlined --- plugins/gtkgui/gtkgui.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/gtkgui/gtkgui.py b/plugins/gtkgui/gtkgui.py index d0623d0cc..b399426ea 100644 --- a/plugins/gtkgui/gtkgui.py +++ b/plugins/gtkgui/gtkgui.py @@ -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)