Author: remi
Date: 2009-03-23 19:36:28 +0100 (Mon, 23 Mar 2009)
New Revision: 4186
Modified:
software_suite_v2/tuxware/tuxdroidserver/trunk/util/applicationserver/gadget/GadgetParameter.py
Log:
* set the parameter type to "password" if the name begin with "password"
Modified:
software_suite_v2/tuxware/tuxdroidserver/trunk/util/applicationserver/gadget/GadgetParameter.py
===================================================================
---
software_suite_v2/tuxware/tuxdroidserver/trunk/util/applicationserver/gadget/GadgetParameter.py
2009-03-23 18:35:41 UTC (rev 4185)
+++
software_suite_v2/tuxware/tuxdroidserver/trunk/util/applicationserver/gadget/GadgetParameter.py
2009-03-23 18:36:28 UTC (rev 4186)
@@ -48,6 +48,8 @@
self.__enumValues = self.__dictionary['type'].split("(")[1][:-1]
else:
self.__enumValues = ""
+ if self.__name.lower().find("password") == 0:
+ self.__type = "password"
self.__defaultValue = self.__dictionary['defaultValue']
self.__description = self.__dictionary['description']
self.__category = ""
------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn