[orca] Don't present 'unselected' when navigating amongst Calc cells



commit 2df96cee2c2082ab8cc7b5874ff258c1ecea5ead
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Tue Aug 11 18:10:37 2015 -0400

    Don't present 'unselected' when navigating amongst Calc cells

 src/orca/scripts/apps/soffice/speech_generator.py |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/scripts/apps/soffice/speech_generator.py 
b/src/orca/scripts/apps/soffice/speech_generator.py
index 915e48c..a9ceb2b 100644
--- a/src/orca/scripts/apps/soffice/speech_generator.py
+++ b/src/orca/scripts/apps/soffice/speech_generator.py
@@ -457,6 +457,12 @@ class SpeechGenerator(speech_generator.SpeechGenerator):
         return speech_generator.SpeechGenerator._generateOldAncestors(
             self, obj, **args)
 
+    def _generateUnselectedCell(self, obj, **args):
+        if self._script.utilities.isSpreadSheetCell(obj):
+            return []
+
+        return super()._generateUnselectedCell(obj, **args)
+
     def generateSpeech(self, obj, **args):
         result = []
         if args.get('formatType', 'unfocused') == 'basicWhereAmI' \


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