[orca/new-settings] Moved the import of orca module inde the overrideKeyBindings method. Import orca from outside get Or
- From: Juanje Ojeda Croissier <jojeda src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/new-settings] Moved the import of orca module inde the overrideKeyBindings method. Import orca from outside get Or
- Date: Thu, 28 Oct 2010 17:19:11 +0000 (UTC)
commit 3cdcf151a726289891292f777646b93e44295d33
Author: Juanje Ojeda <jojeda emergya es>
Date: Thu Oct 28 19:19:02 2010 +0200
Moved the import of orca module inde the overrideKeyBindings method.
Import orca from outside get Orca into circular dependencies
src/orca/settings.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/settings.py b/src/orca/settings.py
index fe74dad..d553aa6 100644
--- a/src/orca/settings.py
+++ b/src/orca/settings.py
@@ -29,7 +29,6 @@ __license__ = "LGPL"
import os
import re
-import orca
screenWidth = 640
screenHeight = 480
@@ -1048,6 +1047,7 @@ def setGKSUGrabDisabled(disable):
# Allow for the customization of key bindings.
#
def overrideKeyBindings(script, keyBindings):
+ import orca
_settingsManager = getattr(orca, '_settingsManager')
return _settingsManager.overrideKeyBindings(script, keyBindings)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]