[orca/new-settings] Removed keys activeProfile and startingProfile from the profiles' keys



commit ced85d6561f0283786be0bf8e276644677baab77
Author: Juanje Ojeda <jojeda emergya es>
Date:   Mon Oct 18 22:07:01 2010 +0200

    Removed keys activeProfile and startingProfile from the profiles' keys

 src/orca/backends/gconf_backend.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/backends/gconf_backend.py b/src/orca/backends/gconf_backend.py
index 77484b9..9d4870c 100644
--- a/src/orca/backends/gconf_backend.py
+++ b/src/orca/backends/gconf_backend.py
@@ -186,6 +186,8 @@ class OrcaPrefs():
                 keyDict = self.options = self.prefsDict
  
         for name, value in keyDict.items():
+            if name in ['activeProfile', 'startingProfile']:
+                continue
             if isinstance(value, dict) and len(value) != 0:
                 self.gconf_save(name, value)
                 self.__app_key = \



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