[orca] Most of the fix for bug 688172 - Orca gets stuck in uppercase pitch
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Most of the fix for bug 688172 - Orca gets stuck in uppercase pitch
- Date: Mon, 12 Nov 2012 23:11:44 +0000 (UTC)
commit 6f94c02f84f2e9b9e12d5a8fd4964344de29cd9c
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Nov 12 18:10:09 2012 -0500
Most of the fix for bug 688172 - Orca gets stuck in uppercase pitch
src/orca/speechdispatcherfactory.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/speechdispatcherfactory.py b/src/orca/speechdispatcherfactory.py
index 821c0c3..dc7e5ef 100644
--- a/src/orca/speechdispatcherfactory.py
+++ b/src/orca/speechdispatcherfactory.py
@@ -257,6 +257,9 @@ class SpeechServer(speechserver.SpeechServer):
if current.get(acss_property) != value:
method(value)
current[acss_property] = value
+ elif acss_property == ACSS.AVERAGE_PITCH:
+ method(5.0)
+ current[acss_property] = 5.0
elif acss_property == ACSS.FAMILY and current.get(acss_property) \
and acss == settings.voices[settings.DEFAULT_VOICE]:
# We need to explicitly reset (at least) the family.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]