say what to do when we click LinkButtons
This commit is contained in:
parent
1cc9184593
commit
3e32fd218d
|
@ -1870,8 +1870,11 @@ class Interface:
|
||||||
for account in gajim.config.get_per('accounts'):
|
for account in gajim.config.get_per('accounts'):
|
||||||
gajim.connections[account] = common.connection.Connection(account)
|
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_email_hook(self.on_launch_browser_mailer, 'mail')
|
||||||
gtk.about_dialog_set_url_hook(self.on_launch_browser_mailer, 'url')
|
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': {}}
|
self.instances = {'logs': {}}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue