[orca] Fix for bug #626498 - Traceback seen in orca_gui_prefs.py when trying to bind an unbound command



commit 4e58ff3c4604a2f23b93d9c291da444d5d2a343d
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date:   Tue Aug 10 01:13:30 2010 -0400

    Fix for bug #626498 - Traceback seen in orca_gui_prefs.py when trying to bind an unbound command

 src/orca/default.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/default.py b/src/orca/default.py
index ae2cea6..83eab99 100644
--- a/src/orca/default.py
+++ b/src/orca/default.py
@@ -5725,11 +5725,11 @@ class Script(script.Script):
     ########################################################################
 
     @staticmethod
-    def speakMessage(string):
+    def speakMessage(string, interrupt=True):
         """Method to speak a single string. Scripts should use this
         method rather than calling speech.speak directly."""
 
-        speech.speak(string)
+        speech.speak(string, interrupt=interrupt)
 
     @staticmethod
     def presentItemsInSpeech(items):



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