diff options
author | PPed72 <paolo.pedroni@iol.it> | 2017-08-30 16:38:06 +0200 |
---|---|---|
committer | Kristian Fiskerstrand <k_f@gentoo.org> | 2017-10-16 22:36:45 +0200 |
commit | 9180e836c5fbd22c5aecde178597faa0bcaaf30e (patch) | |
tree | 0999d866dc101dd5f17d49921b07068cbe1de6c3 /net-p2p/deluge/files | |
parent | media-libs/libfpx: stable 1.3.1_p10 for hppa, bug #628190 (diff) | |
download | gentoo-9180e836c5fbd22c5aecde178597faa0bcaaf30e.tar.gz gentoo-9180e836c5fbd22c5aecde178597faa0bcaaf30e.tar.bz2 gentoo-9180e836c5fbd22c5aecde178597faa0bcaaf30e.zip |
net-p2p/deluge: fix to preferences ui
Bug: https://bugs.gentoo.org/623650
Diffstat (limited to 'net-p2p/deluge/files')
-rw-r--r-- | net-p2p/deluge/files/deluge-1.3.15-r1-fix-preferences-ui.patch | 32 |
1 files changed, 32 insertions, 0 deletions
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 <calumlind+deluge@gmail.com> +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 + |