[orca/orca-gnome3: 52/87] Fix for bug #645364 - Need to check for "mapped" scripts before object toolkit scripts when creating
- From: Alejandro Leiva <aleiva src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/orca-gnome3: 52/87] Fix for bug #645364 - Need to check for "mapped" scripts before object toolkit scripts when creating
- Date: Fri, 1 Apr 2011 11:17:10 +0000 (UTC)
commit c8399ac2bbd4334f557e3cce66940e5914ff2112
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date: Mon Mar 21 02:10:51 2011 -0400
Fix for bug #645364 - Need to check for "mapped" scripts before object toolkit scripts when creating a new script
src/orca/script_manager.py | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/orca/script_manager.py b/src/orca/script_manager.py
index 059bf51..6809749 100644
--- a/src/orca/script_manager.py
+++ b/src/orca/script_manager.py
@@ -156,13 +156,13 @@ class ScriptManager:
def _createScript(self, app, obj=None):
"""For the given application, create a new script instance."""
- objToolkit = self._toolkitForObject(obj)
- script = self._newNamedScript(app, objToolkit)
+ moduleName = self.getModuleName(app)
+ script = self._newNamedScript(app, moduleName)
if script:
return script
- moduleName = self.getModuleName(app)
- script = self._newNamedScript(app, moduleName)
+ objToolkit = self._toolkitForObject(obj)
+ script = self._newNamedScript(app, objToolkit)
if script:
return script
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]