[orca] Ignore WebKitGtk's claim that objects of ROLE_LIST implement AtkText
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Ignore WebKitGtk's claim that objects of ROLE_LIST implement AtkText
- Date: Sat, 1 Feb 2014 23:54:28 +0000 (UTC)
commit 118a76be9b9899f76b951a72abfd159987cef586
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Sat Feb 1 18:53:33 2014 -0500
Ignore WebKitGtk's claim that objects of ROLE_LIST implement AtkText
src/orca/scripts/toolkits/WebKitGtk/script.py | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/WebKitGtk/script.py b/src/orca/scripts/toolkits/WebKitGtk/script.py
index c8b93a8..035a5d1 100644
--- a/src/orca/scripts/toolkits/WebKitGtk/script.py
+++ b/src/orca/scripts/toolkits/WebKitGtk/script.py
@@ -452,6 +452,8 @@ class Script(default.Script):
"""
def implementsText(obj):
+ if obj.getRole() == pyatspi.ROLE_LIST:
+ return False
return 'Text' in utils.listInterfaces(obj)
child = obj
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]