[orca/new-settings] Use the method_setProfileKey() for changing the firstStart value instead calling _getSettings()



commit c451b908211b3c7901b0df20479c1f44018c1e44
Author: Juanje Ojeda <jojeda emergya es>
Date:   Mon Nov 1 18:16:02 2010 +0100

    Use the method_setProfileKey() for changing the firstStart value instead calling _getSettings()

 src/orca/backends/yaml_backend.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/backends/yaml_backend.py b/src/orca/backends/yaml_backend.py
index 6a0d7fc..f2d8829 100644
--- a/src/orca/backends/yaml_backend.py
+++ b/src/orca/backends/yaml_backend.py
@@ -141,9 +141,8 @@ class Backend:
         """Set firstStart. This user-configurable settting is primarily
         intended to serve as an indication as to whether or not initial
         configuration is needed."""
-
-        self._getSettings()
         self.general['firstStart'] = value
+        self._setProfileKey('firstStart', value)
 
     def availableProfiles(self):
         """ List available profiles. """



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]