[orca] More Fixes for Bug 670547 - Module for notification messages should use SYSTEM_VOICE



commit ebb5a5ec7647e57e58347bf966af4b2cc8d648fc
Author: Josà Vilmar EstÃcio de Souza <vilmar informal com br>
Date:   Fri Mar 2 21:06:25 2012 -0300

        More Fixes for Bug 670547 - Module for notification messages should use SYSTEM_VOICE

 src/orca/notification_messages.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/orca/notification_messages.py b/src/orca/notification_messages.py
index 8c370a8..366c15a 100644
--- a/src/orca/notification_messages.py
+++ b/src/orca/notification_messages.py
@@ -97,7 +97,6 @@ inputEventHandlers["enableNotificationMessageListModeHandler"] = \
             _("Present notification messages list"))
 
 def _showMessage(msg):
-    orca_state.activeScript.presentationInterrupt()
     orca_state.activeScript.presentMessage(msg)
 
 def saveMessage(msg):
@@ -201,6 +200,7 @@ def listNotificationMessages(event):
 
     if event.type != pyatspi.KEY_PRESSED_EVENT:
         return False
+    orca_state.activeScript.presentationInterrupt()
     if event.event_string == "Escape":
         exitListNotificationMessagesMode()
         speak = False



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