[orca] Present the current line of the landmark just navigated to



commit 0ceca1cd3d29744ee75c16e4dde8c41bfb9726b0
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Fri Jan 20 09:28:04 2017 -0500

    Present the current line of the landmark just navigated to
    
    The current object tends to give us either not enough or too much
    spoken information.

 src/orca/structural_navigation.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/orca/structural_navigation.py b/src/orca/structural_navigation.py
index a68f716..0cc9b0c 100644
--- a/src/orca/structural_navigation.py
+++ b/src/orca/structural_navigation.py
@@ -2183,8 +2183,7 @@ class StructuralNavigation:
             landmark = obj
             [obj, characterOffset] = self._getCaretPosition(obj)
             self._setCaretPosition(obj, characterOffset)
-            if landmark != obj:
-                self._presentObject(obj, characterOffset)
+            self._presentLine(obj, characterOffset)
         else:
             full = messages.NO_LANDMARK_FOUND
             brief = messages.STRUCTURAL_NAVIGATION_NOT_FOUND


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