orca r4467 - in trunk: . src/orca
- From: wwalker svn gnome org
- To: svn-commits-list gnome org
- Subject: orca r4467 - in trunk: . src/orca
- Date: Tue, 27 Jan 2009 16:40:00 +0000 (UTC)
Author: wwalker
Date: Tue Jan 27 16:40:00 2009
New Revision: 4467
URL: http://svn.gnome.org/viewvc/orca?rev=4467&view=rev
Log:
Additional fix for bug #562060 - make speakKeyName also use pronunciations
Modified:
trunk/ChangeLog
trunk/src/orca/speechserver.py
Modified: trunk/src/orca/speechserver.py
==============================================================================
--- trunk/src/orca/speechserver.py (original)
+++ trunk/src/orca/speechserver.py Tue Jan 27 16:40:00 2009
@@ -34,6 +34,8 @@
import keynames
import settings
import orca
+import orca_state
+
log = logging.getLogger("speech")
import debug
@@ -200,6 +202,9 @@
# this key event.
#
event_string = keynames.getKeyName(event_string)
+ if orca_state.activeScript and orca_state.usePronunciationDictionary:
+ event_string = \
+ orca_state.activeScript.adjustForPronunciation(event_string)
if eventType == orca.KeyEventType.LOCKING_LOCKED:
# Translators: this represents the state of a locking modifier
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]