[orca/gnome-3-10] Fix for Orca double-presenting the contents of Nautilus's Places panel



commit 04d6c88de196415e28f3c9bf0b3058c3e8445010
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Wed Nov 6 15:25:48 2013 -0500

    Fix for Orca double-presenting the contents of Nautilus's Places panel

 src/orca/script_utilities.py |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/script_utilities.py b/src/orca/script_utilities.py
index 2f7df04..c045a0b 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -1247,9 +1247,13 @@ class Utilities:
         if not (obj and obj.parent and obj.childCount):
             return False
 
-        if obj.getRole() == pyatspi.ROLE_TABLE_ROW:
+        role = obj.getRole()
+        if role == pyatspi.ROLE_TABLE_ROW:
             return True
 
+        if role == pyatspi.ROLE_TABLE_CELL:
+            return False
+
         if not obj.parent.getRole() == pyatspi.ROLE_TABLE:
             return False
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]