[orca] Fix for Orca double-presenting the contents of Nautilus's Places panel
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix for Orca double-presenting the contents of Nautilus's Places panel
- Date: Wed, 6 Nov 2013 20:27:59 +0000 (UTC)
commit acbc975603860862a080ea9233cb6fa210d6a5a4
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 7c5720a..0c96111 100644
--- a/src/orca/script_utilities.py
+++ b/src/orca/script_utilities.py
@@ -1256,9 +1256,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]