[orca/new-settings] Added checking for pronunciations and keybindings at _setProfileGeneral()
- From: Juanje Ojeda Croissier <jojeda src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/new-settings] Added checking for pronunciations and keybindings at _setProfileGeneral()
- Date: Thu, 28 Oct 2010 06:29:18 +0000 (UTC)
commit fd1ae2e3f4c5c99434681546a0be55fd1ec12ae2
Author: Juanje Ojeda <jojeda emergya es>
Date: Thu Oct 28 08:28:56 2010 +0200
Added checking for pronunciations and keybindings at _setProfileGeneral()
src/orca/settings_manager.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/settings_manager.py b/src/orca/settings_manager.py
index 2419266..6ea7404 100644
--- a/src/orca/settings_manager.py
+++ b/src/orca/settings_manager.py
@@ -258,7 +258,9 @@ class SettingsManager():
as the profile's."""
self.profileGeneral = {}
for key, value in general.items():
- if value != self.defaultGeneralValues[key]:
+ if key in ['pronunciations', 'keybindings']:
+ continue
+ elif value != self.defaultGeneralValues[key]:
self.profileGeneral[key] = value
def _setProfilePronunciations(self, pronunciations):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]