[orca] Treat ROLE_FORM as a stop-at role when generating ancestors
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Treat ROLE_FORM as a stop-at role when generating ancestors
- Date: Wed, 15 Jan 2014 19:08:31 +0000 (UTC)
commit a1ffd140f314de76dc87142e0ca025c6e7406c5f
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Wed Jan 15 14:07:41 2014 -0500
Treat ROLE_FORM as a stop-at role when generating ancestors
.../scripts/toolkits/Gecko/speech_generator.py | 1 +
.../scripts/toolkits/WebKitGtk/speech_generator.py | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/speech_generator.py
b/src/orca/scripts/toolkits/Gecko/speech_generator.py
index fcde0d7..ab5fda5 100644
--- a/src/orca/scripts/toolkits/Gecko/speech_generator.py
+++ b/src/orca/scripts/toolkits/Gecko/speech_generator.py
@@ -299,6 +299,7 @@ class SpeechGenerator(speech_generator.SpeechGenerator):
args['stopAtRoles'] = [pyatspi.ROLE_DOCUMENT_FRAME,
pyatspi.ROLE_INTERNAL_FRAME,
+ pyatspi.ROLE_FORM,
pyatspi.ROLE_MENU_BAR,
pyatspi.ROLE_TOOL_BAR]
diff --git a/src/orca/scripts/toolkits/WebKitGtk/speech_generator.py
b/src/orca/scripts/toolkits/WebKitGtk/speech_generator.py
index 1e186fd..17d681a 100644
--- a/src/orca/scripts/toolkits/WebKitGtk/speech_generator.py
+++ b/src/orca/scripts/toolkits/WebKitGtk/speech_generator.py
@@ -156,6 +156,7 @@ class SpeechGenerator(speech_generator.SpeechGenerator):
args['stopAtRoles'] = [pyatspi.ROLE_DOCUMENT_FRAME,
pyatspi.ROLE_INTERNAL_FRAME,
+ pyatspi.ROLE_FORM,
pyatspi.ROLE_MENU_BAR,
pyatspi.ROLE_TOOL_BAR]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]