[orca] Fix for bug 703645 - Use the default locale if no "family" is specified for the default voice



commit 87a93ead5335916e1e65b921b33d3f09a6010eac
Author: Paul Wolneykien <manowar altlinux org>
Date:   Mon Jul 8 06:05:33 2013 -0400

    Fix for bug 703645 - Use the default locale if no "family" is specified for the default voice

 src/orca/speechdispatcherfactory.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/speechdispatcherfactory.py b/src/orca/speechdispatcherfactory.py
index 8a2ef9d..cc4a45d 100644
--- a/src/orca/speechdispatcherfactory.py
+++ b/src/orca/speechdispatcherfactory.py
@@ -243,7 +243,7 @@ class SpeechServer(speechserver.SpeechServer):
             elif acss_property == ACSS.AVERAGE_PITCH:
                 method(5.0)
                 current[acss_property] = 5.0
-            elif acss_property == ACSS.FAMILY and current.get(acss_property) \
+            elif acss_property == ACSS.FAMILY \
                     and acss == settings.voices[settings.DEFAULT_VOICE]:
                 # We need to explicitly reset (at least) the family.
                 # See bgo#626072.


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