[orca] Fix for bug#643067: Have GS magnifyAccessible check that magnification enabled



commit df4a2e6980d0ce5146ff20a91d24f1f0ad51c69d
Author: Mike Gorse <mgorse novell com>
Date:   Wed Feb 23 08:39:18 2011 -0600

    Fix for bug#643067: Have GS magnifyAccessible check that magnification enabled

 src/orca/gsmag.py |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/gsmag.py b/src/orca/gsmag.py
index a244772..9582bf4 100644
--- a/src/orca/gsmag.py
+++ b/src/orca/gsmag.py
@@ -204,6 +204,9 @@ def magnifyAccessible(event, obj, extents=None):
     - event: the Event that caused this to be called
     - obj: the accessible
     """
+    if not _initialized:
+        return
+
     haveSomethingToMagnify = False
 
     if extents:



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