Author: remi
Date: 2009-03-31 13:29:05 +0200 (Tue, 31 Mar 2009)
New Revision: 4283
Modified:
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/gadgets/GadgetDescription.py
Log:
* added "tts name" in the gadget description
Modified:
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/gadgets/GadgetDescription.py
===================================================================
---
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/gadgets/GadgetDescription.py
2009-03-31 11:24:47 UTC (rev 4282)
+++
software_suite_v2/tuxware/pytuxisalive/branches/0.3.0/src/tuxisalive/api/gadgets/GadgetDescription.py
2009-03-31 11:29:05 UTC (rev 4283)
@@ -52,6 +52,15 @@
return self.__structure['translated_name']
#
--------------------------------------------------------------------------
+ # Get the TTS gadget name.
+ #
--------------------------------------------------------------------------
+ def getTtsName(self):
+ """Get the TTS gadget name.
+ @return: A string.
+ """
+ return self.__structure['tts_name']
+
+ #
--------------------------------------------------------------------------
# Get the uuid of the gadget.
#
--------------------------------------------------------------------------
def getUuid(self):
@@ -123,6 +132,7 @@
descList = []
descList.append("%s = %s" % ('Name', self.getName()))
descList.append("%s = %s" % ('Translated name',
self.getTranslatedName()))
+ descList.append("%s = %s" % ('TTS name', self.getTtsName()))
descList.append("%s = %s" % ('Uuid', self.getUuid()))
descList.append("%s = %s" % ('Description', self.getDescription()))
descList.append("%s = %s" % ('Author', self.getAuthor()))
------------------------------------------------------------------------------
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn