diff --git a/src/gajim.py b/src/gajim.py index 1b55fc88d..c850464dc 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -1870,8 +1870,11 @@ class Interface: for account in gajim.config.get_per('accounts'): gajim.connections[account] = common.connection.Connection(account) + # gtk hooks gtk.about_dialog_set_email_hook(self.on_launch_browser_mailer, 'mail') gtk.about_dialog_set_url_hook(self.on_launch_browser_mailer, 'url') + if gtk.pygtk_version >= (2, 10, 0) and gtk.gtk_version >= (2, 10, 0): + gtk.link_button_set_uri_hook(self.on_launch_browser_mailer, 'url') self.instances = {'logs': {}}