[orca] Treat all lists as not layout only by default
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Treat all lists as not layout only by default
- Date: Tue, 24 Nov 2015 14:26:38 +0000 (UTC)
commit 8bc924ba08700b06903014ababca972b3227d0fc
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Tue Nov 24 09:23:56 2015 -0500
Treat all lists as not layout only by default
src/orca/script_utilities.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/script_utilities.py b/src/orca/script_utilities.py
index 198c5c8..aea518e 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -1009,7 +1009,9 @@ class Utilities:
layoutOnly = False
elif role == pyatspi.ROLE_MENU and parentRole == pyatspi.ROLE_COMBO_BOX:
layoutOnly = True
- elif role == pyatspi.ROLE_LIST or self.isTableRow(obj):
+ elif role == pyatspi.ROLE_LIST:
+ layoutOnly = False
+ elif self.isTableRow(obj):
state = obj.getState()
layoutOnly = not (state.contains(pyatspi.STATE_FOCUSABLE) \
or state.contains(pyatspi.STATE_SELECTABLE))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]