[orca] Fix for bgo#589497 - orca shouldn't speak entering / leaving flat review mode when verbosity is set
- From: William Walker <wwalker src gnome org>
- To: svn-commits-list gnome org
- Subject: [orca] Fix for bgo#589497 - orca shouldn't speak entering / leaving flat review mode when verbosity is set
- Date: Thu, 23 Jul 2009 17:36:10 +0000 (UTC)
commit e808e88eabcd63a818d939ed9d7c38f20ea284f7
Author: Halim Sahin <halim sahin freenet de>
Date: Thu Jul 23 13:33:37 2009 -0400
Fix for bgo#589497 - orca shouldn't speak entering / leaving flat review mode when verbosity is set to brief
src/orca/default.py | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/default.py b/src/orca/default.py
index a689772..a9688a5 100644
--- a/src/orca/default.py
+++ b/src/orca/default.py
@@ -4826,7 +4826,9 @@ class Script(script.Script):
# {line,word,character}. This message lets the user know
# they have left the flat review feature.
#
- speech.speak(_("Leaving flat review."))
+ if settings.speechVerbosityLevel \
+ != settings.VERBOSITY_LEVEL_BRIEF:
+ speech.speak(_("Leaving flat review."))
self.drawOutline(-1, 0, 0, 0)
self.flatReviewContext = None
self.updateBraille(orca_state.locusOfFocus)
@@ -4842,7 +4844,9 @@ class Script(script.Script):
# {line,word,character}. This message lets the user know
# they have entered the flat review feature.
#
- speech.speak(_("Entering flat review."))
+ if settings.speechVerbosityLevel \
+ != settings.VERBOSITY_LEVEL_BRIEF:
+ speech.speak(_("Entering flat review."))
context = self.getFlatReviewContext()
[wordString, x, y, width, height] = \
context.getCurrent(flat_review.Context.WORD)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]