[tuxdroid-svn] r5978 - 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-15 10:33:48
|
Author: jerome Date: 2009-12-15 11:33:37 +0100 (Tue, 15 Dec 2009) New Revision: 5978 Modified: software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/plugin-skype.py Log: * Fixed a dummy configuration bug... 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-15 09:53:54 UTC (rev 5977) +++ software_suite_v3/software/plugin/plugin-skype/branches/in_out_plugin/executables/plugin-skype.py 2009-12-15 10:33:37 UTC (rev 5978) @@ -47,58 +47,56 @@ ''' Skype plugin configuration. ''' - throwEmoticons = True - throwTTS = True - isOutgoing = False def __init__(self): ''' Configuration initialization. ''' SimplePluginConfiguration.__init__(self) - self.throwEmoticons = True + self.__throwEmoticons = True + self.__throwTTS = True + self.__isOutgoing = False - def getThrowEmoticons(self): ''' Return true if emoticons will be thrown. ''' - return self.throwEmoticons + return self.__throwEmoticons - def setThrowEmoticons(self, aThrowEmoticons): + def setThrowEmoticons(self, throwEmoticons): ''' Set the throwEmoticons parameter value. ''' - self.throwEmoticons = aThrowEmoticons + self.__throwEmoticons = throwEmoticons def getThrowTTS(self): ''' Return the throwTTS parameter value. ''' - return self.throwTTS + return self.__throwTTS - def setThrowTTS(self, throw): + def setThrowTTS(self, throwTTS): ''' Set the throwTTS parameter value. ''' - self.throwTTS = throw + self.__throwTTS = throwTTS def getIsOutgoing(self): ''' Return the outgoing parameter value. ''' - return self.isOutgoing + return self.__isOutgoing - def setIsOutgoing(self, outgoing): + def setIsOutgoing(self, isOutgoing): ''' Set the outgoing parameter value. ''' - self.isOutgoing = outgoing + self.__isOutgoing = isOutgoing class SkypePlugin(SimplePlugin): @@ -122,6 +120,7 @@ onlineList = [] currentContact = -1 + ##---------------------------------------------------------------- ## * Skype plugin main entry point. ##---------------------------------------------------------------- |