[orca/new-settings] Use methods which return something when making assignments. :-)



commit 78166807c7cff8aefbf376e7e52898b25e75a14a
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date:   Wed Oct 27 13:33:22 2010 -0400

    Use methods which return something when making assignments. :-)

 src/orca/settings_manager.py |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/orca/settings_manager.py b/src/orca/settings_manager.py
index 7672641..2419266 100644
--- a/src/orca/settings_manager.py
+++ b/src/orca/settings_manager.py
@@ -195,9 +195,9 @@ class SettingsManager():
         change from one profile to another."""
         if profile is None:
             profile = self.profile
-        self.profileGeneral = self._getGeneral(profile) or {}
-        self.profilePronunciations = self._getPronunciations(profile) or {}
-        self.profileKeybindings = self._getKeybindings(profile) or {}
+        self.profileGeneral = self.getGeneralSettings(profile) or {}
+        self.profilePronunciations = self.getPronunciations(profile) or {}
+        self.profileKeybindings = self.getKeybindings(profile) or {}
 
     def _mergeSettings(self):
         """Update the changed values on the profile settings



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