[orca/570658] Eliminate double speaking of column header
- From: William Walker <wwalker src gnome org>
- To: svn-commits-list gnome org
- Subject: [orca/570658] Eliminate double speaking of column header
- Date: Fri, 26 Jun 2009 06:26:18 +0000 (UTC)
commit 29f3f0cc8a25e85161ae79018dc9f5e008a24c3a
Author: Willie Walker <william walker sun com>
Date: Fri Jun 26 02:22:16 2009 -0400
Eliminate double speaking of column header
src/orca/generator.py | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/generator.py b/src/orca/generator.py
index fe3cf68..6908d4d 100644
--- a/src/orca/generator.py
+++ b/src/orca/generator.py
@@ -690,6 +690,12 @@ class Generator:
label associated with it then also speak the table column
header. See Orca bug #455230 for more details.
"""
+ # If we're reading just a single cell in speech, the new
+ # header portion is going to give us this information.
+ #
+ if args['mode'] == 'speech' and not args.get('readingRow', False):
+ return []
+
result = []
try:
parentTable = obj.parent.queryTable()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]