[tuxdroid-svn] r5943 - software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/execut
Status: Beta
Brought to you by:
ks156
From: jerome <c2m...@c2...> - 2009-12-07 11:58:13
|
Author: jerome Date: 2009-12-07 12:57:59 +0100 (Mon, 07 Dec 2009) New Revision: 5943 Modified: software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/plugin-skype.py Log: * Throwing tts name instead of user handle. Modified: software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/plugin-skype.py =================================================================== --- software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/plugin-skype.py 2009-12-07 11:36:32 UTC (rev 5942) +++ software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/plugin-skype.py 2009-12-07 11:57:59 UTC (rev 5943) @@ -115,7 +115,7 @@ self.synchronious = SynchroniousCommands(self.connectorObj) #Initializing contacts list. - #self.connectorObj.getContacts() + self.synchronious.getContacts() #Setting asynchronious obj. self.asynchronious = AsynchroniousCommands(self.connectorObj) @@ -176,9 +176,10 @@ ''' Event that notify of incoming chat message. ''' + #Getting tts user name. + contactTTS = self.synchronious.getTTSName(contactHandle) self.throwNotification("start") - #contactTTS = self.synchronious.getTTSName(contactHandle) - self.throwMessage('You have a message from {0}', contactHandle) + self.throwMessage('You have a message from {0}', contactTTS) self.throwNotification("stop") @@ -207,8 +208,10 @@ #Moved 'INVISIBLE to OFFLINE' in case of contact become ivisible. if Status == 'INVISIBLE': Status = 'OFFLINE' + #Getting tts user name. + contactTTS = self.synchronious.getTTSName(UserHandle) self.throwNotification("start") - self.throwMessage('{0} is now {1}', UserHandle, Status) + self.throwMessage('{0} is now {1}', UserHandle, contactTTS) self.throwNotification("stop") |