[orca] Fix for bug 685263 - Slowness with Orca if using control-center 3.6



commit 7c7f386050abc40ee1234b240bafcf12615a38f6
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Wed Jan 9 10:40:20 2013 -0500

    Fix for bug 685263 - Slowness with Orca if using control-center 3.6

 src/orca/speechdispatcherfactory.py |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/orca/speechdispatcherfactory.py b/src/orca/speechdispatcherfactory.py
index 060eab5..045ed4c 100644
--- a/src/orca/speechdispatcherfactory.py
+++ b/src/orca/speechdispatcherfactory.py
@@ -423,8 +423,8 @@ class SpeechServer(speechserver.SpeechServer):
         return families
 
     def speak(self, text=None, acss=None, interrupt=True):
-        #if interrupt:
-        #    self._cancel()
+        if interrupt:
+            self._cancel()
 
         if text:
             self._speak(text, acss)
@@ -434,8 +434,8 @@ class SpeechServer(speechserver.SpeechServer):
             self._speak(text, acss)
 
     def speakUtterances(self, utteranceList, acss=None, interrupt=True):
-        #if interrupt:
-        #    self._cancel()
+        if interrupt:
+            self._cancel()
         for utterance in utteranceList:
             if utterance:
                 self._speak(utterance, acss)



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