[orca] Do not descend ROLE_EMBEDDED objects for the caret
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Do not descend ROLE_EMBEDDED objects for the caret
- Date: Sat, 6 Aug 2016 17:15:16 +0000 (UTC)
commit 7dc04fcdca5b8724ec02e74a44f0714761564980
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sat Aug 6 13:14:27 2016 -0400
Do not descend ROLE_EMBEDDED objects for the caret
src/orca/scripts/web/script_utilities.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/web/script_utilities.py b/src/orca/scripts/web/script_utilities.py
index 96ed553..75072cd 100644
--- a/src/orca/scripts/web/script_utilities.py
+++ b/src/orca/scripts/web/script_utilities.py
@@ -761,7 +761,8 @@ class Utilities(script_utilities.Utilities):
rv = None
if not self.isLiveRegion(obj):
- doNotQuery = [pyatspi.ROLE_TABLE_ROW,
+ doNotQuery = [pyatspi.ROLE_EMBEDDED,
+ pyatspi.ROLE_TABLE_ROW,
pyatspi.ROLE_TOOL_BAR]
role = obj.getRole()
if rv and role in doNotQuery:
@@ -2783,6 +2784,7 @@ class Utilities(script_utilities.Utilities):
return False
doNotDescend = [pyatspi.ROLE_COMBO_BOX,
+ pyatspi.ROLE_EMBEDDED,
pyatspi.ROLE_LIST_BOX,
pyatspi.ROLE_MENU_BAR,
pyatspi.ROLE_MENU,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]