[orca] Fix for bug #643304 - Specific apps settings are applied globally



commit 39cbeff4dcdb7100f6f7edb44a833985bdda451e
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date:   Sat Mar 19 18:46:25 2011 -0400

    Fix for bug #643304 - Specific apps settings are applied globally

 src/orca/settings_manager.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/settings_manager.py b/src/orca/settings_manager.py
index 7c2e8a2..6fec1f7 100644
--- a/src/orca/settings_manager.py
+++ b/src/orca/settings_manager.py
@@ -486,6 +486,8 @@ class SettingsManager(object):
         - script: the current active script.
         """
 
+        self._loadProfileSettings()
+
         import orca
         _scriptManager = getattr(orca, '_scriptManager')
 
@@ -517,6 +519,7 @@ class SettingsManager(object):
             return
 
         self._knownAppSettings[name] = module
+        reload(self._knownAppSettings[name])
 
         keybindings = getattr(module, 'overrideAppKeyBindings', None)
         if keybindings:



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