From 5b1d7084845656d84396b36570a289a8f0ecb278 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sat, 12 Mar 2005 23:43:17 +0000 Subject: [PATCH] bugfix in about window --- plugins/gtkgui/gtkgui.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plugins/gtkgui/gtkgui.py b/plugins/gtkgui/gtkgui.py index fe2e0a42a..be04a6029 100644 --- a/plugins/gtkgui/gtkgui.py +++ b/plugins/gtkgui/gtkgui.py @@ -725,12 +725,13 @@ class plugin: self.basic_pattern = links + mail + formatting + def on_launch_browser_mailer(self, widget, url, kind): + self.launch_browser_mailer(kind, url) def __init__(self, quIN, quOUT): gtk.gdk.threads_init() - #(asterix) I don't have pygtk 2.6 for the moment, so I cannot test -# gtk.about_dialog_set_email_hook(self.launch_browser_mailer, 'mail') -# gtk.about_dialog_set_url_hook(self.launch_browser_mailer, 'url') + gtk.about_dialog_set_email_hook(self.on_launch_browser_mailer, 'mail') + gtk.about_dialog_set_url_hook(self.on_launch_browser_mailer, 'url') self.queueIN = quIN self.queueOUT = quOUT self.send('REG_MESSAGE', 'gtkgui', ['ROSTER', 'WARNING', 'STATUS', \