[tuxdroid-svn] r6031 - software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/execut
Status: Beta
Brought to you by:
ks156
From: jerome <c2m...@c2...> - 2010-01-05 09:25:22
|
Author: jerome Date: 2010-01-05 10:25:14 +0100 (Tue, 05 Jan 2010) New Revision: 6031 Modified: software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/plugin-skype.py Log: * Reset Tux Droid switches and close all call when gadget stops ( power off rc button ). 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 2010-01-05 09:14:59 UTC (rev 6030) +++ software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/plugin-skype.py 2010-01-05 09:25:14 UTC (rev 6031) @@ -169,6 +169,12 @@ if self.getCommand() == 'check': self.serv.stop() if self.getCommand() == 'run': + self.throwNotification("start") + self.throwActuation("downFlippers") + self.throwActuation("closeMouth") + self.throwNotification("stop") + self.stopTTS() + self.client.notify(CLOSE_CALL) self.client.stop() except: pass @@ -279,11 +285,6 @@ self.throwNotification("stop") elif Message == END: - self.throwNotification("start") - self.throwActuation("downFlippers") - self.throwActuation("closeMouth") - self.throwNotification("stop") - self.stopTTS() self.stop() |