[orca] Fix for bug #647522 - Orca should not speak page loading messages if 'only speak displayed text' is



commit 4d78fca456042f6bb498c92b35b5c131b55d7265
Author: Joanmarie <joanmarie diggs gmail com>
Date:   Sun May 8 17:15:26 2011 +0200

    Fix for bug #647522 - Orca should not speak page loading messages if 'only speak displayed text' is enabled

 src/orca/scripts/toolkits/Gecko/script.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/toolkits/Gecko/script.py b/src/orca/scripts/toolkits/Gecko/script.py
index d62d96f..9610783 100644
--- a/src/orca/scripts/toolkits/Gecko/script.py
+++ b/src/orca/scripts/toolkits/Gecko/script.py
@@ -1773,7 +1773,8 @@ class Script(default.Script):
                     message = _("Finished loading.")
                     finishedLoading = True
 
-                self.presentMessage(message)
+                if not _settingsManager.getSetting('onlySpeakDisplayedText'):
+                    self.presentMessage(message)
 
                 if finishedLoading:
                     # Store the document frame otherwise the first time it



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