[orca] Fix for bug #637670 - Speech is getting broken up into separate utterances when it should not be
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix for bug #637670 - Speech is getting broken up into separate utterances when it should not be
- Date: Mon, 20 Dec 2010 19:49:22 +0000 (UTC)
commit 8d5f6eddd414fc7092c008941d0905315ff43809
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date: Mon Dec 20 14:24:28 2010 -0500
Fix for bug #637670 - Speech is getting broken up into separate utterances when it should not be
src/orca/speech_generator.py | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/speech_generator.py b/src/orca/speech_generator.py
index 17bbcdd..4c697ed 100644
--- a/src/orca/speech_generator.py
+++ b/src/orca/speech_generator.py
@@ -1893,4 +1893,8 @@ class SpeechGenerator(generator.Generator):
voicename = voiceType.get(key) or voiceType.get(DEFAULT)
voices = _settingsManager.getSetting('voices')
- return [voices.get(voicename)]
+ rv = voices.get(voicename)
+ if rv and rv.get('established') == False:
+ rv = rv.pop('established')
+
+ return [rv]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]