[orca] Use speakCharacter rather than sayCharacter in sayPhrase
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Use speakCharacter rather than sayCharacter in sayPhrase
- Date: Fri, 20 Mar 2020 17:46:59 +0000 (UTC)
commit 836a68d7468d7e8ee5d0c147766d3fc121288ba5
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 40681ad6a..24ed77688 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]