[orca] Eliminate another double-presentation of table information
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Eliminate another double-presentation of table information
- Date: Fri, 21 Jun 2019 23:10:11 +0000 (UTC)
commit e0a8be2606accb7d8415610f5849fa4a61ef2fd3
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Fri Jun 21 19:09:39 2019 -0400
Eliminate another double-presentation of table information
src/orca/structural_navigation.py | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/orca/structural_navigation.py b/src/orca/structural_navigation.py
index ea33d7834..ab40b5053 100644
--- a/src/orca/structural_navigation.py
+++ b/src/orca/structural_navigation.py
@@ -1234,7 +1234,7 @@ class StructuralNavigation:
self._script.updateBraille(obj)
self._script.sayLine(obj)
- def _presentObject(self, obj, offset, includeContext=False):
+ def _presentObject(self, obj, offset, includeContext=False, priorObj=None):
"""Presents the entire object to the user.
Arguments:
@@ -1253,7 +1253,8 @@ class StructuralNavigation:
priorObj = obj
includeContext = True
- self._script.presentObject(obj, offset=offset, includeContext=includeContext)
+ self._script.presentObject(
+ obj, offset=offset, includeContext=includeContext, priorObj=priorObj)
def _presentWithSayAll(self, obj, offset):
if self._script.inSayAll() \
@@ -2851,7 +2852,7 @@ class StructuralNavigation:
debug.println(debug.LEVEL_INFO, msg)
self.lastTableCell = [0, 0]
- self._presentObject(cell, 0, includeContext=False)
+ self._presentObject(cell, 0, includeContext=False, priorObj=obj)
[cell, characterOffset] = self._getCaretPosition(cell)
self._setCaretPosition(cell, characterOffset)
else:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]