[orca] Also stop ancestor generation at ROLE_EMBEDDED



commit 776ead8d0d95a61cee78b85706df108964a892cd
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Fri Jan 17 17:56:36 2014 -0500

    Also stop ancestor generation at ROLE_EMBEDDED

 .../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 dfa56e0..69cc970 100644
--- a/src/orca/scripts/toolkits/Gecko/speech_generator.py
+++ b/src/orca/scripts/toolkits/Gecko/speech_generator.py
@@ -303,6 +303,7 @@ class SpeechGenerator(speech_generator.SpeechGenerator):
             return []
 
         args['stopAtRoles'] = [pyatspi.ROLE_DOCUMENT_FRAME,
+                               pyatspi.ROLE_EMBEDDED,
                                pyatspi.ROLE_INTERNAL_FRAME,
                                pyatspi.ROLE_FORM,
                                pyatspi.ROLE_MENU_BAR,
diff --git a/src/orca/scripts/toolkits/WebKitGtk/speech_generator.py 
b/src/orca/scripts/toolkits/WebKitGtk/speech_generator.py
index a6a51bc..43e8299 100644
--- a/src/orca/scripts/toolkits/WebKitGtk/speech_generator.py
+++ b/src/orca/scripts/toolkits/WebKitGtk/speech_generator.py
@@ -155,6 +155,7 @@ class SpeechGenerator(speech_generator.SpeechGenerator):
             return []
 
         args['stopAtRoles'] = [pyatspi.ROLE_DOCUMENT_FRAME,
+                               pyatspi.ROLE_EMBEDDED,
                                pyatspi.ROLE_INTERNAL_FRAME,
                                pyatspi.ROLE_FORM,
                                pyatspi.ROLE_MENU_BAR,


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