summaryrefslogtreecommitdiff
path: root/src/leap/config/leapsettings.py
diff options
context:
space:
mode:
authorTomás Touceda <chiiph@leap.se>2013-06-12 14:22:16 -0300
committerkali <kali@leap.se>2013-06-13 23:37:31 +0900
commitb2f2831d6fc090a508437a073267d5a9e2bd5e14 (patch)
tree320aadf6956e8eaf2fd8793f9c652b219e3109b7 /src/leap/config/leapsettings.py
parent35291c130f749850753e89d889a121ec098c0dc9 (diff)
Refactor login to its own widget and remove Utils menu
Diffstat (limited to 'src/leap/config/leapsettings.py')
-rw-r--r--src/leap/config/leapsettings.py19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/leap/config/leapsettings.py b/src/leap/config/leapsettings.py
index ab0c1860..88b7d8c9 100644
--- a/src/leap/config/leapsettings.py
+++ b/src/leap/config/leapsettings.py
@@ -62,7 +62,6 @@ class LeapSettings(object):
GEOMETRY_KEY = "Geometry"
WINDOWSTATE_KEY = "WindowState"
USER_KEY = "User"
- AUTOLOGIN_KEY = "AutoLogin"
PROPERPROVIDER_KEY = "ProperProvider"
REMEMBER_KEY = "RememberUserAndPass"
DEFAULTPROVIDER_KEY = "DefaultProvider"
@@ -192,24 +191,6 @@ class LeapSettings(object):
leap_assert_type(remember, bool)
self._settings.setValue(self.REMEMBER_KEY, remember)
- def get_autologin(self):
- """
- Returns True if the app should automatically login, False otherwise
-
- :rtype: bool
- """
- return to_bool(self._settings.value(self.AUTOLOGIN_KEY, False))
-
- def set_autologin(self, autologin):
- """
- Sets whether the app should automatically login
-
- :param autologin: True if the app should autologin, False otherwise
- :type autologin: bool
- """
- leap_assert_type(autologin, bool)
- self._settings.setValue(self.AUTOLOGIN_KEY, autologin)
-
# TODO: make this scale with multiple providers, we are assuming
# just one for now
def get_properprovider(self):