[orca] Don't treat lack of previous row as a row change in Calc
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Don't treat lack of previous row as a row change in Calc
- Date: Fri, 10 Jan 2014 17:33:32 +0000 (UTC)
commit 153d29a86140f2ce15eba84b6535686471fda43a
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Fri Jan 10 12:32:20 2014 -0500
Don't treat lack of previous row as a row change in Calc
src/orca/scripts/apps/soffice/speech_generator.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/scripts/apps/soffice/speech_generator.py
b/src/orca/scripts/apps/soffice/speech_generator.py
index 885185b..b6f55d3 100644
--- a/src/orca/scripts/apps/soffice/speech_generator.py
+++ b/src/orca/scripts/apps/soffice/speech_generator.py
@@ -398,7 +398,10 @@ class SpeechGenerator(speech_generator.SpeechGenerator):
row, column, table = \
self._script.utilities.getRowColumnAndTable(obj)
lastRow = self._script.pointOfReference.get("lastRow")
- speakFullRow = row != lastRow
+ if lastRow == -1 and self._script.utilities.isSpreadSheetCell(obj):
+ speakFullRow = False
+ else:
+ speakFullRow = row != lastRow
if not speakFullRow:
return self._generateRealTableCell(obj, **args)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]