[orca] Treat all lists as not layout only by default



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]