Fix homepage link in about dialog
This commit is contained in:
parent
40ab319f64
commit
6182d5f14b
@ -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…
x
Reference in New Issue
Block a user