[orca] Fix for bug #643195 - Orca hangs after a traceback.



commit c7d0ee32131b82437e298b7ff29303017a053fad
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date:   Mon Mar 7 18:02:59 2011 -0500

    Fix for bug #643195 - Orca hangs after a traceback.

 src/orca/speechserver.py |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/speechserver.py b/src/orca/speechserver.py
index 40ce774..58f42b1 100644
--- a/src/orca/speechserver.py
+++ b/src/orca/speechserver.py
@@ -40,6 +40,7 @@ log = logging.getLogger("speech")
 
 import debug
 
+from acss import ACSS
 from orca_i18n import _           # for gettext support
 
 class VoiceFamily(dict):
@@ -194,9 +195,9 @@ class SpeechServer(object):
         """
         if eventType == orca.KeyEventType.PRINTABLE and \
                event_string.decode("UTF-8").isupper():
-            voice = settings.voices[settings.UPPERCASE_VOICE]
+            voice = ACSS(settings.voices[settings.UPPERCASE_VOICE])
         else:
-            voice = settings.voices[settings.DEFAULT_VOICE]
+            voice = ACSS(settings.voices[settings.DEFAULT_VOICE])
 
         # Check to see if there are localized words to be spoken for
         # this key event.



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