From 3e32fd218dbbc850206aba1ef1f0c9867c25eef6 Mon Sep 17 00:00:00 2001
From: Nikos Kouremenos <kourem@gmail.com>
Date: Mon, 25 Sep 2006 21:12:12 +0000
Subject: [PATCH] say what to do when we click LinkButtons

---
 src/gajim.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/gajim.py b/src/gajim.py
index 1b55fc88d6..c850464dca 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': {}}
 		
-- 
GitLab