[orca] Add icon/canvas selection container mapping to layered pane
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Add icon/canvas selection container mapping to layered pane
- Date: Wed, 31 Mar 2021 10:51:02 +0000 (UTC)
commit 82983b949de06dfd6c4ac2c8a3021b0d02585489
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Wed Mar 31 12:48:51 2021 +0200
Add icon/canvas selection container mapping to layered pane
This is needed for the read-selection command to work in views that
are not lists or tables.
Fixes #197.
src/orca/script_utilities.py | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/orca/script_utilities.py b/src/orca/script_utilities.py
index ffc1ca570..851cad7c0 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -3919,6 +3919,8 @@ class Utilities:
return obj
rolemap = {
+ pyatspi.ROLE_CANVAS: [pyatspi.ROLE_LAYERED_PANE],
+ pyatspi.ROLE_ICON: [pyatspi.ROLE_LAYERED_PANE],
pyatspi.ROLE_LIST_ITEM: [pyatspi.ROLE_LIST_BOX],
pyatspi.ROLE_TREE_ITEM: [pyatspi.ROLE_TREE, pyatspi.ROLE_TREE_TABLE],
pyatspi.ROLE_TABLE_CELL: [pyatspi.ROLE_TABLE, pyatspi.ROLE_TREE_TABLE],
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]