[orca] Update the locusOfFocus when the caret moves to a Gecko anchor
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Update the locusOfFocus when the caret moves to a Gecko anchor
- Date: Sat, 11 Jan 2014 20:15:49 +0000 (UTC)
commit f3e5a8a07c169f7267d187c93aa869ae9cae2ce3
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sat Jan 11 15:13:30 2014 -0500
Update the locusOfFocus when the caret moves to a Gecko anchor
src/orca/scripts/toolkits/Gecko/script.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script.py b/src/orca/scripts/toolkits/Gecko/script.py
index 68f8985..e12bc93 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -917,6 +917,8 @@ class Script(default.Script):
text = self.utilities.queryNonEmptyText(event.source)
if not text:
+ if event.source.getRole() == pyatspi.ROLE_LINK:
+ orca.setLocusOfFocus(event, event.source)
return
contextObj, contextOffset = self.getCaretContext()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]