From 243004c5517fafe00aaa297300cd68a0cb4892ab Mon Sep 17 00:00:00 2001 From: Calum Lind Date: Thu, 10 Nov 2016 13:47:20 +0000 Subject: [PATCH] [GTKUI] Remove About dialog unneeded url_hook * This is removed in Gtk3 and clicking url in Gtk2 still works. --- deluge/ui/gtkui/aboutdialog.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/deluge/ui/gtkui/aboutdialog.py b/deluge/ui/gtkui/aboutdialog.py index 9bfe633ff..a3a673c3a 100644 --- a/deluge/ui/gtkui/aboutdialog.py +++ b/deluge/ui/gtkui/aboutdialog.py @@ -9,16 +9,13 @@ import gtk -from deluge.common import get_pixmap, get_version, open_url_in_browser +from deluge.common import get_pixmap, get_version from deluge.ui.client import client from deluge.ui.gtkui.common import get_deluge_icon class AboutDialog(object): def __init__(self): - def url_hook(dialog, url): - open_url_in_browser(url) - gtk.about_dialog_set_url_hook(url_hook) self.about = gtk.AboutDialog() self.about.set_position(gtk.WIN_POS_CENTER) self.about.set_name('Deluge')