Author: remi
Date: 2009-04-18 11:44:05 +0200 (Sat, 18 Apr 2009)
New Revision: 4555

Modified:
   
softwares_suite_v3/kysoh/tuxware/api/python/trunk/tuxisalive/api/gadgets/Gadget.py
Log:
* fixed parameters order (Same order than the gadget.xml)

Modified: 
softwares_suite_v3/kysoh/tuxware/api/python/trunk/tuxisalive/api/gadgets/Gadget.py
===================================================================
--- 
softwares_suite_v3/kysoh/tuxware/api/python/trunk/tuxisalive/api/gadgets/Gadget.py
  2009-04-18 09:43:52 UTC (rev 4554)
+++ 
softwares_suite_v3/kysoh/tuxware/api/python/trunk/tuxisalive/api/gadgets/Gadget.py
  2009-04-18 09:44:05 UTC (rev 4555)
@@ -33,7 +33,9 @@
         else:
             self.__isConfiguration = False
         self.__parameters = []
-        for key in infosStructure['parameters'].keys():
+        keys = infosStructure['parameters'].keys()
+        keys.sort()
+        for key in keys:
             self.__parameters.append(GadgetParameter(self,
                 infosStructure['parameters'][key]))
         self.__commands = []


------------------------------------------------------------------------------
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to