orca r3604 - in trunk: . src/orca
- From: shaeger svn gnome org
- To: svn-commits-list gnome org
- Subject: orca r3604 - in trunk: . src/orca
- Date: Tue, 19 Feb 2008 18:40:28 +0000 (GMT)
Author: shaeger
Date: Tue Feb 19 18:40:28 2008
New Revision: 3604
URL: http://svn.gnome.org/viewvc/orca?rev=3604&view=rev
Log:
Fixed bug #511885, Support relevant and channel live region properties.
Modified:
trunk/ChangeLog
trunk/src/orca/liveregions.py
Modified: trunk/src/orca/liveregions.py
==============================================================================
--- trunk/src/orca/liveregions.py (original)
+++ trunk/src/orca/liveregions.py Tue Feb 19 18:40:28 2008
@@ -447,7 +447,16 @@
# Get the labeling information now that we have good content.
labels = self._getLabelsAsUtterances(event.source)
- return {'content':content, 'labels':labels}
+ # instantly send out notify messages
+ if attrs.has_key('channel') and attrs['channel'] == 'notify':
+ utts = labels + content
+ speech.stop()
+ # Note: we would like to use a different ACSS for alerts. This work
+ # should be done as part of bug #412656.
+ speech.speakUtterances(utts)
+ return None
+ else:
+ return {'content':content, 'labels':labels}
def flushMessages(self):
self.msg_queue.clear()
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]