[orca] Additional fix for bug 543157 - It is not always possible to distinguish on-screen text from Orca's



commit 194b0472ee708fb2d07473ff5195cca9070cbcb8
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date:   Mon Aug 16 16:56:51 2010 -0400

    Additional fix for bug 543157 - It is not always possible to distinguish on-screen text from Orca's "system" messages
    
    This fix causes us to speak the word 'blank' in text widgets using
    the system voice rather than the default voice. The reason being
    the word 'blank' doesn't actually appear on the screen.

 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 6655ad6..655b128 100644
--- a/src/orca/default.py
+++ b/src/orca/default.py
@@ -4450,7 +4450,7 @@ class Script(script.Script):
                     # Translators: "blank" is a short word to mean the
                     # user has navigated to an empty line.
                     #
-                    speech.speak(_("blank"), voice, False)
+                    self.speakMessage(_("blank"), interrupt=False)
                 return
 
         if character in ["\n", "\r\n"]:
@@ -4460,7 +4460,7 @@ class Script(script.Script):
                 # Translators: "blank" is a short word to mean the
                 # user has navigated to an empty line.
                 #
-                speech.speak(_("blank"), voice, False)
+                self.speakMessage(_("blank"), interrupt=False)
             return
         else:
             self.speakMisspelledIndicator(obj, offset)



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