orca r3676 - in trunk: . src/orca
- From: joanied svn gnome org
- To: svn-commits-list gnome org
- Subject: orca r3676 - in trunk: . src/orca
- Date: Mon, 3 Mar 2008 01:12:35 +0000 (GMT)
Author: joanied
Date: Mon Mar 3 01:12:35 2008
New Revision: 3676
URL: http://svn.gnome.org/viewvc/orca?rev=3676&view=rev
Log:
* src/orca/Gecko.py:
Fix for bug #517277 - Orca should not get stuck while
browsing articles at espn.com
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 Mar 3 01:12:35 2008
@@ -7738,15 +7738,20 @@
childText = self.queryNonEmptyText(child)
if childText:
noChars = childText.characterCount
- [line, start, end] = \
+ [cLine, cStart, cEnd] = \
childText.getTextAtOffset(noChars - 1, boundary)
- obj = child
+ if cEnd - cStart > 1:
+ obj = child
+ start = cStart
+ else:
+ start += 1
elif child.getRole() != pyatspi.ROLE_LINK:
text = None
obj = child
else:
[line, start, end] = \
text.getTextAfterOffset(start + 1, boundary)
+
if text:
offset = start
else:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]