[orca/gnome-3-16] Stop repeating tutorial messages when navigating amongst items of the same type
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca/gnome-3-16] Stop repeating tutorial messages when navigating amongst items of the same type
- Date: Mon, 25 May 2015 16:58:26 +0000 (UTC)
commit 2f3e80d7e4f1817e6905596470b06b8c416ba0a8
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]