Fix homepage link in about dialog
This commit is contained in:
parent
b56e4bc74e
commit
8e80b4121b
|
@ -43,7 +43,7 @@ class AboutDialog:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
# Get the glade file for the about dialog
|
# Get the glade file for the about dialog
|
||||||
def url_hook(dialog, url):
|
def url_hook(dialog, url):
|
||||||
client.open_url_in_browser(url)
|
deluge.common.open_url_in_browser(url)
|
||||||
gtk.about_dialog_set_url_hook(url_hook)
|
gtk.about_dialog_set_url_hook(url_hook)
|
||||||
self.about = gtk.AboutDialog()
|
self.about = gtk.AboutDialog()
|
||||||
self.about.set_position(gtk.WIN_POS_CENTER)
|
self.about.set_position(gtk.WIN_POS_CENTER)
|
||||||
|
|
Loading…
Reference in New Issue