orca r3516 - in trunk: . src/orca



Author: joanied
Date: Mon Jan 28 22:30:01 2008
New Revision: 3516
URL: http://svn.gnome.org/viewvc/orca?rev=3516&view=rev

Log:
* src/orca/Gecko.py: 
  Work on bug #506360 - find{Next,Previous}Line() should be
  more efficient.  


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

Modified: trunk/src/orca/Gecko.py
==============================================================================
--- trunk/src/orca/Gecko.py	(original)
+++ trunk/src/orca/Gecko.py	Mon Jan 28 22:30:01 2008
@@ -7610,8 +7610,9 @@
         # If we have, we'll want to include whatever follows this object
         # on the same line.
         #
-        if not obj.getRole() in [pyatspi.ROLE_DOCUMENT_FRAME,
-                                 pyatspi.ROLE_SECTION]:
+        if not self.isAriaWidget(obj) \
+           and not obj.getRole() in [pyatspi.ROLE_DOCUMENT_FRAME,
+                                     pyatspi.ROLE_SECTION]:
             text = self.queryNonEmptyText(obj.parent)
             if text:
                 offset = self.getCharacterOffsetInParent(obj) + 1



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