[orca] Fix for Bug 670547 - Module for notification messages should use SYSTEM_VOICE
- From: Joanmarie Diggs <joanied src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [orca] Fix for Bug 670547 - Module for notification messages should use SYSTEM_VOICE
- Date: Fri, 2 Mar 2012 12:04:20 +0000 (UTC)
commit 5d13a9e2631c81cb13d22acf97262d143f5a2272
Author: Josà Vilmar EstÃcio de Souza <vilmar informal com br>
Date: Fri Feb 24 07:29:05 2012 -0200
Fix for Bug 670547 - Module for notification messages should use SYSTEM_VOICE
src/orca/notification_messages.py | 7 ++-----
1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/src/orca/notification_messages.py b/src/orca/notification_messages.py
index e374f64..8c370a8 100644
--- a/src/orca/notification_messages.py
+++ b/src/orca/notification_messages.py
@@ -29,7 +29,6 @@ import settings
import pyatspi
import input_event
import orca_state
-import speech
import debug
from orca_i18n import _
@@ -98,9 +97,8 @@ inputEventHandlers["enableNotificationMessageListModeHandler"] = \
_("Present notification messages list"))
def _showMessage(msg):
- speech.speak(msg, None, True)
- orca_state.activeScript.displayBrailleMessage(msg, \
- flashTime=settings.brailleFlashTime)
+ orca_state.activeScript.presentationInterrupt()
+ orca_state.activeScript.presentMessage(msg)
def saveMessage(msg):
"""save the message in a list to be presented later"""
@@ -203,7 +201,6 @@ def listNotificationMessages(event):
if event.type != pyatspi.KEY_PRESSED_EVENT:
return False
- speech.stop()
if event.event_string == "Escape":
exitListNotificationMessagesMode()
speak = False
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]