[orca] Catch error where speech_generator method was being called the old way



commit 32b38516e370c5f37546a3022cd9032e6932d2c5
Author: Willie Walker <william walker sun com>
Date:   Sun Jun 21 02:57:09 2009 -0400

    Catch error where speech_generator method was being called the old way

 src/orca/scripts/toolkits/Gecko/bookmarks.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/bookmarks.py b/src/orca/scripts/toolkits/Gecko/bookmarks.py
index 275b054..e4e370a 100644
--- a/src/orca/scripts/toolkits/Gecko/bookmarks.py
+++ b/src/orca/scripts/toolkits/Gecko/bookmarks.py
@@ -60,8 +60,7 @@ class GeckoBookmarks(bookmarks.Bookmarks):
         # Translators: this announces that a bookmark has been entered
         #
         utterances = [(_('entered bookmark'))]
-        utterances.extend(self._script.speechGenerator.generateSpeech \
-                         (obj, False))
+        utterances.extend(self._script.speechGenerator.generateSpeech(obj))
         speech.speak(utterances)
         
     def goToBookmark(self, inputEvent, index=None):



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