say what to do when we click LinkButtons

This commit is contained in:
Nikos Kouremenos 2006-09-25 21:12:12 +00:00
parent 1cc9184593
commit 3e32fd218d
1 changed files with 3 additions and 0 deletions

View File

@ -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': {}}