[orca/gnome-3-36] Use speakCharacter rather than sayCharacter in sayPhrase



commit a5495f540a520790a2f0e314dae9e897c8a13b6a
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Fri Mar 20 13:44:54 2020 -0400

    Use speakCharacter rather than sayCharacter in sayPhrase
    
    sayPhrase has already done the work to figure out the string to speak.
    We don't want to do additional work, or adjust offsets (potentially
    incorrectly).

 src/orca/scripts/default.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/orca/scripts/default.py b/src/orca/scripts/default.py
index 331c19910..5f840d7ac 100644
--- a/src/orca/scripts/default.py
+++ b/src/orca/scripts/default.py
@@ -3315,7 +3315,7 @@ class Script(script.Script):
             utterance.extend(voice)
             speech.speak(utterance)
         else:
-            self.sayCharacter(obj)
+            self.speakCharacter(phrase)
 
     def sayWord(self, obj):
         """Speaks the word at the caret.


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