Fix homepage link in about dialog

This commit is contained in:
Andrew Resch 2008-08-07 00:37:48 +00:00
parent b56e4bc74e
commit 8e80b4121b
1 changed files with 1 additions and 1 deletions

View File

@ -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)