[orca] Eliminate incorrect presentation of previous panel



commit ccedd450953434ce16b445e4e0a10211d08ebfcc
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Fri Oct 27 11:18:04 2017 -0400

    Eliminate incorrect presentation of previous panel

 src/orca/speech_generator.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/speech_generator.py b/src/orca/speech_generator.py
index b3fe3f9..e341649 100644
--- a/src/orca/speech_generator.py
+++ b/src/orca/speech_generator.py
@@ -1555,6 +1555,8 @@ class SpeechGenerator(generator.Generator):
                 result.append(messages.LEAVING_FIGURE)
             elif self._script.utilities.isDocumentPanel(obj):
                 result.append(messages.LEAVING_PANEL)
+            else:
+                result = ['']
         elif role == pyatspi.ROLE_TABLE and self._script.utilities.isTextDocumentTable(obj):
             result.append(messages.LEAVING_TABLE)
         elif role == 'ROLE_DPUB_LANDMARK':


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