[orca] Fix regression in which dimensions of table being left were spoken
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix regression in which dimensions of table being left were spoken
- Date: Mon, 16 Jan 2017 14:56:08 +0000 (UTC)
commit b75c7b2d315dc285186df205f6010c20e83d5338
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Mon Jan 16 09:54:07 2017 -0500
Fix regression in which dimensions of table being left were spoken
src/orca/speech_generator.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/speech_generator.py b/src/orca/speech_generator.py
index e2888c2..d2842e3 100644
--- a/src/orca/speech_generator.py
+++ b/src/orca/speech_generator.py
@@ -286,6 +286,9 @@ class SpeechGenerator(generator.Generator):
if _settingsManager.getSetting('onlySpeakDisplayedText'):
return []
+ if args.get("leaving"):
+ return[]
+
if self._script.utilities.isTextDocumentTable(obj):
role = args.get('role', obj.getRole())
enabled, disabled = self._getEnabledAndDisabledContextRoles()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]