[orca] Fix for bug #638053 - Orca says "blank" in Gecko using the default voice when it should use the syst



commit d491a1a0a0d74ebdce071c62c67d9c8120fe1b22
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date:   Sun Dec 26 13:41:26 2010 -0500

    Fix for bug #638053 - Orca says "blank" in Gecko using the default voice when it should use the system voice

 src/orca/scripts/toolkits/Gecko/script.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script.py b/src/orca/scripts/toolkits/Gecko/script.py
index c37774c..08045e4 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -5351,7 +5351,7 @@ class Script(default.Script):
                 # Translators: "blank" is a short word to mean the
                 # user has navigated to an empty line.
                 #
-                return [[_("blank"), clumped[0][1]]]
+                return [[_("blank"), self.voices[settings.SYSTEM_VOICE]]]
 
         if len(clumped) and isinstance(clumped[-1][0], basestring):
             clumped[-1][0] = clumped[-1][0].rstrip(" ")



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