Changeset 1541

Show
Ignore:
Timestamp:
01/01/08 22:28:23 (18 months ago)
Author:
pvagner
Message:

* when changing voice using synth settings ring user dictionary is also changed accordingly (Patch by Rui Batista)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/source/_synthSettingsRing.py

    r1111 r1541  
    4242                return self.valueName 
    4343 
     44        def _set_value(self,value): 
     45                """overrided to use code that supports updating user dicts when changing voice""" 
     46                synthDriverHandler.changeVoice(synthDriverHandler.getSynth(),value) 
     47                config.conf["speech"][synthDriverHandler.getSynth().name][self.name]=value 
     48                 
    4449        def _get_valueName(self): 
    4550                return synthDriverHandler.getSynth().getVoiceName(self.value)