[orca] Ensure a voice is generated for listitem marker content
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Ensure a voice is generated for listitem marker content
- Date: Wed, 12 Jun 2019 19:20:43 +0000 (UTC)
commit 148ac525a2b002bb62a1752c90a9080ae33ba41a
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Wed Jun 12 15:20:10 2019 -0400
Ensure a voice is generated for listitem marker content
src/orca/speech_generator.py | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/src/orca/speech_generator.py b/src/orca/speech_generator.py
index b1583192c..949124740 100644
--- a/src/orca/speech_generator.py
+++ b/src/orca/speech_generator.py
@@ -1268,6 +1268,13 @@ class SpeechGenerator(generator.Generator):
result.extend(self.voice(SYSTEM))
return result
+ def _generateListItemMarker(self, obj, **args):
+ result = super()._generateListItemMarker(obj, **args)
+ if result:
+ result.extend(self.voice(DEFAULT))
+
+ return result
+
#####################################################################
# #
# Tree interface information #
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]