From 420eeee727d39d869d864caddb04a80dafda7160 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 17 Oct 2017 17:51:45 +0100 Subject: gentoo resync : 17.10.2017 --- .../deluge-1.3.15-r1-fix-preferences-ui.patch | 32 ++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 net-p2p/deluge/files/deluge-1.3.15-r1-fix-preferences-ui.patch (limited to 'net-p2p/deluge/files') diff --git a/net-p2p/deluge/files/deluge-1.3.15-r1-fix-preferences-ui.patch b/net-p2p/deluge/files/deluge-1.3.15-r1-fix-preferences-ui.patch new file mode 100644 index 000000000000..a63e5de10de1 --- /dev/null +++ b/net-p2p/deluge/files/deluge-1.3.15-r1-fix-preferences-ui.patch @@ -0,0 +1,32 @@ +From 38d7b7cdfde3c50d6263602ffb03af92fcbfa52e Mon Sep 17 00:00:00 2001 +From: Calum Lind +Date: Sat, 13 May 2017 00:05:48 +0100 +Subject: [GTKUI] Fix keyerror showing prefs + + * Fix the single_proxy ui to True as unlikely any users using <=0.15 + and need to have different proxy type settings. +--- + deluge/ui/gtkui/preferences.py | 7 ++----- + 1 file changed, 2 insertions(+), 5 deletions(-) + +diff --git a/deluge/ui/gtkui/preferences.py b/deluge/ui/gtkui/preferences.py +index 645ad26..efcd93d 100644 +--- a/deluge/ui/gtkui/preferences.py ++++ b/deluge/ui/gtkui/preferences.py +@@ -318,11 +318,8 @@ class Preferences(component.Component): + } + # Add proxy stuff + +- # Display workaround for single proxy in libtorrent >v0.16 +- try: +- lt_single_proxy = component.get("PreferencesManager").LT_SINGLE_PROXY +- except AttributeError: +- lt_single_proxy = False ++ # Display workaround for single proxy in libtorrent >= v0.16 ++ lt_single_proxy = True + + for t in ("peer", "web_seed", "tracker", "dht"): + if lt_single_proxy and not t == "peer": +-- +cgit v1.1 + -- cgit v1.2.3