Move download management from frontends to rss_sqlite.py.
[feedingit] / src / config.py
index 8aa45ce..65fbddd 100644 (file)
@@ -32,6 +32,7 @@
 from ConfigParser import RawConfigParser
 from gconf import client_get_default
 from urllib2 import ProxyHandler
+from mainthread import mainthread
 
 VERSION = "52"
 
@@ -280,6 +281,7 @@ class Config():
         return ranges["orientation"].index(self.config["orientation"])
     def getImageCache(self):
         return self.config["imageCache"]
+    @mainthread
     def getProxy(self):
         if self.config["proxy"] == False:
             return (False, None)