[tuxdroid-svn] r5992 - in software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin: e
Status: Beta
Brought to you by:
ks156
From: jerome <c2m...@c2...> - 2009-12-16 12:10:36
|
Author: jerome Date: 2009-12-16 13:10:25 +0100 (Wed, 16 Dec 2009) New Revision: 5992 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/resources/de.po software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/resources/en.po software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/resources/fr.po software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/resources/nl.po software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/resources/plugin.pot Log: * Added 'Quit gadget' fake contact. 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-16 11:55:34 UTC (rev 5991) +++ software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/plugin-skype.py 2009-12-16 12:10:25 UTC (rev 5992) @@ -272,11 +272,11 @@ self.throwNotification("stop") elif Message[:18].find("tts_incoming_call>") != -1: + if self.command != "incoming": + return self.throwNotification("start") self.throwMessage('{0} is calling you', Message[18:]) - self.throwNotification("stop") #Re - open mouth - self.throwNotification("start") self.throwActuation("openMouth") self.throwNotification("stop") @@ -466,7 +466,10 @@ ''' Call the current selected contact. ''' - self.synchronious.call(self.onlineList[self.currentContact]) + if self.onlineList[self.currentContact] == 'Quit gadget': + self.serv.notify("command>endcall") + else: + self.synchronious.call(self.onlineList[self.currentContact]) def nextContact(self): @@ -595,6 +598,8 @@ elif Message == 'get_contacts': #Outgoing call requested, so getting online list and sending outgoing command. self.onlineList = self.synchronious.getOnlineList() + #Adding fake 'Quit gadget' contact. + self.onlineList.append("Quit gadget") time.sleep(0.4) #And throwing the first online contact in list. self.nextContact() Modified: software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/resources/de.po =================================================================== --- software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/resources/de.po 2009-12-16 11:55:34 UTC (rev 5991) +++ software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/resources/de.po 2009-12-16 12:10:25 UTC (rev 5992) @@ -30,3 +30,6 @@ msgid "Sorry, it looks like skype is not installed. Please go to the skype website to download the software." msgstr "Sorry, Anscheinend ist Skeyepe nicht installiert. Gehen Sie bitte auf die Skype-Website und laden Sie die Software herunter." + +msgid "Quit gadget" +msgstr "Beenden die Kadchet." Modified: software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/resources/en.po =================================================================== --- software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/resources/en.po 2009-12-16 11:55:34 UTC (rev 5991) +++ software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/resources/en.po 2009-12-16 12:10:25 UTC (rev 5992) @@ -30,3 +30,6 @@ msgid "Sorry, it looks like skype is not installed. Please go to the skype website to download the software." msgstr "Sorry, it looks like skype is not installed. Please go to the skype website to download the software." + +msgid "Quit gadget" +msgstr "Quit gadget" Modified: software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/resources/fr.po =================================================================== --- software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/resources/fr.po 2009-12-16 11:55:34 UTC (rev 5991) +++ software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/resources/fr.po 2009-12-16 12:10:25 UTC (rev 5992) @@ -30,3 +30,6 @@ msgid "Sorry, it looks like skype is not installed. Please go to the skype website to download the software." msgstr "Désolé, il semble que skype n'est pas installé. S'il vous plait, rendez vous sur le site internet de skype pour télécharger le logiciel." + +msgid "Quit gadget" +msgstr "Quitter le gadget" Modified: software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/resources/nl.po =================================================================== --- software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/resources/nl.po 2009-12-16 11:55:34 UTC (rev 5991) +++ software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/resources/nl.po 2009-12-16 12:10:25 UTC (rev 5992) @@ -30,3 +30,6 @@ msgid "Sorry, it looks like skype is not installed. Please go to the skype website to download the software." msgstr "Sorry, maar skype is niet geïnstalleerd. Gelieve naar de skype website te gaan en de software te downloaden." + +msgid "Quit gadget" +msgstr "Verlaat gadget" Modified: software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/resources/plugin.pot =================================================================== --- software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/resources/plugin.pot 2009-12-16 11:55:34 UTC (rev 5991) +++ software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/resources/plugin.pot 2009-12-16 12:10:25 UTC (rev 5992) @@ -30,3 +30,6 @@ msgid "Sorry, it looks like skype is not installed. Please go to the skype website to download the software." msgstr "" + +msgid "Quit gadget" +msgstr "" |