eric6/Preferences/__init__.py

changeset 8329
c823968b9602
parent 8283
3139cbc98a14
child 8400
b3eefd7e58d1
child 8485
bb395ec2a6af
equal deleted inserted replaced
8328:e22ce9001905 8329:c823968b9602
1939 "MinimumMessageTypeSeverity"]: 1939 "MinimumMessageTypeSeverity"]:
1940 return int(prefClass.settings.value( 1940 return int(prefClass.settings.value(
1941 "UI/" + key, prefClass.uiDefaults[key])) 1941 "UI/" + key, prefClass.uiDefaults[key]))
1942 elif key in ["ProxyType/Ftp", ]: 1942 elif key in ["ProxyType/Ftp", ]:
1943 return E5FtpProxyType(int(prefClass.settings.value( 1943 return E5FtpProxyType(int(prefClass.settings.value(
1944 "UI/" + key, prefClass.uiDefaults[key]))) 1944 "UI/" + key, prefClass.uiDefaults[key].value)))
1945 elif key in ["ProxyPassword/Http", "ProxyPassword/Https", 1945 elif key in ["ProxyPassword/Http", "ProxyPassword/Https",
1946 "ProxyPassword/Ftp", ]: 1946 "ProxyPassword/Ftp", ]:
1947 from Utilities.crypto import pwConvert 1947 from Utilities.crypto import pwConvert
1948 return pwConvert( 1948 return pwConvert(
1949 prefClass.settings.value("UI/" + key, prefClass.uiDefaults[key]), 1949 prefClass.settings.value("UI/" + key, prefClass.uiDefaults[key]),

eric ide

mercurial