[orca/new-settings] Reversing an earlier change as it fixes one problem but introduces a side effect.
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/new-settings] Reversing an earlier change as it fixes one problem but introduces a side effect.
- Date: Sat, 11 Dec 2010 01:46:02 +0000 (UTC)
commit ce6cd879d22ecc9ddc29de5ccf2629953cb5837a
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date: Fri Dec 10 20:45:34 2010 -0500
Reversing an earlier change as it fixes one problem but introduces a side effect.
src/orca/default.py | 11 +++--------
1 files changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/src/orca/default.py b/src/orca/default.py
index 28b8683..239e72b 100644
--- a/src/orca/default.py
+++ b/src/orca/default.py
@@ -5062,14 +5062,9 @@ class Script(script.Script):
"""Save a copy of all the existing application specific settings
(as specified by the settings.userCustomizableSettings dictionary)."""
- prefsDict = {}
- for key in settings.userCustomizableSettings:
- try:
- prefsDict[key] = getattr(settings, key)
- except:
- pass
-
- return prefsDict
+ _settingsManager = getattr(orca, '_settingsManager')
+
+ return _settingsManager.getGeneralSettings(_settingsManager.profile)
def restoreOldAppSettings(self, prefsDict):
"""Restore a copy of all the previous saved application settings.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]