[orca/gnome-3-14] Send Gecko utterances speech.speak as a whole rather than iterating through them



commit 71e64837ed31ae9c6405628745ebd092c5d7f6e0
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Fri Sep 12 17:13:45 2014 -0400

    Send Gecko utterances speech.speak as a whole rather than iterating through them

 src/orca/scripts/toolkits/Gecko/script.py |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script.py b/src/orca/scripts/toolkits/Gecko/script.py
index 6054c14..03b09bd 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -2526,9 +2526,7 @@ class Script(default.Script):
     def speakContents(self, contents):
         """Speaks each string in contents using the associated voice/acss"""
 
-        utterances = self.getUtterancesFromContents(contents)
-        for utterance in utterances:
-            speech.speak(utterance, interrupt=False)
+        speech.speak(self.getUtterancesFromContents(contents))
 
     def speakCharacterAtOffset(self, obj, characterOffset):
         """Speaks the character at the given characterOffset in the


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