[orca] Fix for bug #640591 - The 'system' voice is incorrectly used after structural navigation wraps in We



commit cc2a4638867649ea809d2c9911843669acfefe09
Author: Joanmarie Diggs <joanmarie diggs gmail com>
Date:   Tue Jan 25 17:03:31 2011 -0500

    Fix for bug #640591 - The 'system' voice is incorrectly used after structural navigation wraps in WebKitGtk content

 src/orca/structural_navigation.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/structural_navigation.py b/src/orca/structural_navigation.py
index 0c352e6..15f2a85 100644
--- a/src/orca/structural_navigation.py
+++ b/src/orca/structural_navigation.py
@@ -1795,7 +1795,7 @@ class StructuralNavigation:
         if obj.getRole() == pyatspi.ROLE_LINK:
             voice = voices[settings.HYPERLINK_VOICE]
         else:
-            voice = None
+            voice = voices[settings.DEFAULT_VOICE]
 
         utterances = self._script.speechGenerator.generateSpeech(obj)
         speech.speak(utterances, voice)



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