[orca] Revert "Eliminate another double-presentation of table information"



commit 963df2a4a716eff9f31380f837a9d49ae20f71e2
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Fri Jun 21 19:51:37 2019 -0400

    Revert "Eliminate another double-presentation of table information"
    
    Unwanted side effect of filtering out too much.

 src/orca/structural_navigation.py | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/orca/structural_navigation.py b/src/orca/structural_navigation.py
index ab40b5053..ea33d7834 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, priorObj=None):
+    def _presentObject(self, obj, offset, includeContext=False):
         """Presents the entire object to the user.
 
         Arguments:
@@ -1253,8 +1253,7 @@ class StructuralNavigation:
             priorObj = obj
             includeContext = True
 
-        self._script.presentObject(
-            obj, offset=offset, includeContext=includeContext, priorObj=priorObj)
+        self._script.presentObject(obj, offset=offset, includeContext=includeContext)
 
     def _presentWithSayAll(self, obj, offset):
         if self._script.inSayAll() \
@@ -2852,7 +2851,7 @@ class StructuralNavigation:
                     debug.println(debug.LEVEL_INFO, msg)
 
             self.lastTableCell = [0, 0]
-            self._presentObject(cell, 0, includeContext=False, priorObj=obj)
+            self._presentObject(cell, 0, includeContext=False)
             [cell, characterOffset] = self._getCaretPosition(cell)
             self._setCaretPosition(cell, characterOffset)
         else:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]