When net/deluge port is running in thin client mode the Preferences window
(Ctrl+P) in GTK UI cannot be opened. The patch below fixes it
https://git.deluge-torrent.org/deluge/commit/?h=1.3-stable&id=38d7b7cdfde3c50d6263602ffb03af92fcbfa52e
<https://git.deluge-torrent.org/deluge/commit/?h=1.3-stable&id=38d7b7cdfde3c50d6263602ffb03af92fcbfa52e>
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":