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



commit eb98e3881fb7788264456e1238819b6e83be0306
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]