kuuko pushed a commit to branch master.

http://git.enlightenment.org/apps/epour.git/commit/?id=bf94bf347d192cb0948ab791b106ecdef99dbbbb

commit bf94bf347d192cb0948ab791b106ecdef99dbbbb
Author: Kai Huuhko <kai.huu...@gmail.com>
Date:   Fri Jul 18 05:50:06 2014 +0300

    fix libtorrent 1.0.0 compatibility wrt. proxy settings
---
 epour/gui/Preferences.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/epour/gui/Preferences.py b/epour/gui/Preferences.py
index 077a747..da879fa 100644
--- a/epour/gui/Preferences.py
+++ b/epour/gui/Preferences.py
@@ -320,7 +320,7 @@ class ProxyGroup(Frame):
         l = Label(self, text="Proxy type", size_hint_align=ALIGN_LEFT)
         l.show()
         ptype = Hoversel(parent, size_hint_align=FILL_HORIZ)
-        ptype.text = ps.type.name
+        ptype.text = str(lt.proxy_type.values[ps.type])
         for n in lt.proxy_type.names.keys():
             ptype.item_add(n, callback=lambda x, y, z=n: ptype.text_set(z))
         ptype.show()

-- 


Reply via email to