[orca] An additional fix to ensure we display links whose text consists of child elements
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] An additional fix to ensure we display links whose text consists of child elements
- Date: Tue, 16 Sep 2014 01:03:36 +0000 (UTC)
commit f06aeed3aa8631484ae64e7383322de8ca7f2592
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Sep 15 21:01:47 2014 -0400
An additional fix to ensure we display links whose text consists of child elements
src/orca/scripts/toolkits/Gecko/script.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script.py b/src/orca/scripts/toolkits/Gecko/script.py
index 2d5cee1..3468bb6 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -1440,11 +1440,11 @@ class Script(default.Script):
[focusedObj, focusedOffset] = self.getCaretContext()
contents = self.getLineContentsAtOffset(focusedObj, focusedOffset)
contents = self.utilities.filterContentsForPresentation(contents)
- if not len(contents):
+ index = self.utilities.findObjectInContents(focusedObj, focusedOffset, contents)
+ if not len(contents) or index == -1:
default.Script.updateBraille(self, obj, extraRegion)
return
- index = self.utilities.findObjectInContents(focusedObj, focusedOffset, contents)
focusedRegion = None
lastObj = None
for i, content in enumerate(contents):
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]