[ports] deluge GTKUI preferences window not showing up in thin client mode

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

[ports] deluge GTKUI preferences window not showing up in thin client mode

heavytrip
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":

Reply | Threaded
Open this post in threaded view
|

Re: [ports] deluge GTKUI preferences window not showing up in thin client mode

Antoine Jacoutot-6
On Tue, 2018-10-30 at 22:03 +0100, [hidden email] wrote:
> 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":
>

Hi.

Thanks, the port has been fixed accordingly.

--
Antoine