orca r3520 - in trunk: . src/orca



Author: joanied
Date: Tue Jan 29 18:21:22 2008
New Revision: 3520
URL: http://svn.gnome.org/viewvc/orca?rev=3520&view=rev

Log:
* src/orca/flat_review.py: 
  Fix for bug #512847 - Flat review is quite broken in
  OpenOffice and Firefox.


Modified:
   trunk/ChangeLog
   trunk/src/orca/flat_review.py

Modified: trunk/src/orca/flat_review.py
==============================================================================
--- trunk/src/orca/flat_review.py	(original)
+++ trunk/src/orca/flat_review.py	Tue Jan 29 18:21:22 2008
@@ -871,11 +871,12 @@
 
         debug.println(debug.LEVEL_FINEST, "  looking at text:")
 
-        text = accessible.queryText()
-        if text:
-            zones = []
-        else:
+        try:
+            text = accessible.queryText()
+        except NotImplementedError:
             return []
+        else:
+            zones = []
 
         length = text.characterCount
 



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