[orca/gnome-2-32] Fix for bug #629586 - When Orca is in learn mode and the user switches to another application, Orca



commit 5af2e814e42e746273f7fb3849ef4e004def488d
Author: José Vilmar Estácio de Souza <vilmar informal com br>
Date:   Mon Sep 13 19:21:58 2010 -0300

    Fix for bug #629586 - When Orca is in learn mode and the user switches to another application, Orca stops presenting the locusOfFocus

 src/orca/default.py |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/orca/default.py b/src/orca/default.py
index dbdfe86..988cb6e 100644
--- a/src/orca/default.py
+++ b/src/orca/default.py
@@ -3795,6 +3795,14 @@ class Script(script.Script):
         # disable list notification  messages mode
         notification_messages.listNotificationMessagesModeEnabled = False
 
+        # disable learn mode
+        settings.learnModeEnabled = False
+
+        # disable list shortcuts mode
+        settings.listShortcutsModeEnabled = False
+        orca_state.listOfShortcuts = []
+        orca_state.typeOfShortcuts = ""
+
     ########################################################################
     #                                                                      #
     # Methods for presenting content                                       #



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