[orca/gnome-3-14] Speak text role for Gecko apps when not in document content
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/gnome-3-14] Speak text role for Gecko apps when not in document content
- Date: Tue, 23 Sep 2014 12:24:01 +0000 (UTC)
commit cd5b0ee3ee29fded9b3a729125f088cdde057e57
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Thu Sep 18 09:04:28 2014 -0400
Speak text role for Gecko apps when not in document content
.../scripts/toolkits/Gecko/speech_generator.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/speech_generator.py
b/src/orca/scripts/toolkits/Gecko/speech_generator.py
index a1bb633..c1d8dbd 100644
--- a/src/orca/scripts/toolkits/Gecko/speech_generator.py
+++ b/src/orca/scripts/toolkits/Gecko/speech_generator.py
@@ -215,7 +215,6 @@ class SpeechGenerator(speech_generator.SpeechGenerator):
pyatspi.ROLE_MENU_ITEM,
pyatspi.ROLE_PARAGRAPH,
pyatspi.ROLE_SECTION,
- pyatspi.ROLE_TEXT,
pyatspi.ROLE_UNKNOWN]
else:
# We never ever want to speak 'unknown'
@@ -224,6 +223,7 @@ class SpeechGenerator(speech_generator.SpeechGenerator):
if not force and self._script.inDocumentContent(obj):
doNotSpeak.append(pyatspi.ROLE_TABLE_CELL)
+ doNotSpeak.append(pyatspi.ROLE_TEXT)
if args.get('formatType', 'unfocused') != 'basicWhereAmI':
doNotSpeak.append(pyatspi.ROLE_LIST_ITEM)
doNotSpeak.append(pyatspi.ROLE_LIST)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]