[orca] Stop repeating tutorial messages when navigating amongst items of the same type



commit c2fd524d3956c9258ed90aa57cc4061bc9b2b41f
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Mon May 25 12:56:29 2015 -0400

    Stop repeating tutorial messages when navigating amongst items of the same type

 src/orca/tutorialgenerator.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/tutorialgenerator.py b/src/orca/tutorialgenerator.py
index 4cf3d62..929c9fe 100644
--- a/src/orca/tutorialgenerator.py
+++ b/src/orca/tutorialgenerator.py
@@ -785,7 +785,7 @@ class TutorialGenerator:
             else:
                 generator = self._getDefaultTutorial
             msg = generator(obj, alreadyFocused, forceTutorial)
-        elif msg == self.lastTutorial and role == self.lastRole \
+        if msg == self.lastTutorial and role == self.lastRole \
              and not forceTutorial:
             msg = []
         if msg:


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