Author: remi
Date: 2009-04-07 13:14:35 +0200 (Tue, 07 Apr 2009)
New Revision: 4391

Modified:
   
software_suite_v2/tuxware/tuxdroidserver/trunk/resources/01_robot_system/resourceGadgetFramework.py
Log:
* now, the gadget framework resource is not auto-started the first launch of 
the server

Modified: 
software_suite_v2/tuxware/tuxdroidserver/trunk/resources/01_robot_system/resourceGadgetFramework.py
===================================================================
--- 
software_suite_v2/tuxware/tuxdroidserver/trunk/resources/01_robot_system/resourceGadgetFramework.py
 2009-04-07 11:06:29 UTC (rev 4390)
+++ 
software_suite_v2/tuxware/tuxdroidserver/trunk/resources/01_robot_system/resourceGadgetFramework.py
 2009-04-07 11:14:35 UTC (rev 4391)
@@ -75,10 +75,9 @@
             country = language.upper()
         locutor = TUXDROID_DEFAULT_LOCUTOR
         pitch = 130
-        gadgetsPath = os.path.join(USER_BASE_PATH, "MyTux", "MyTuxGadgets")
         self.defaultConfiguration = {
-            'auto-start' : True,
-            'gadgets_path' : gadgetsPath,
+            'auto-start' : False,
+            'gadgets_path' : "",
             'language' : language,
             'country' : country,
             'locutor' : locutor,
@@ -400,6 +399,7 @@
             config['locutor'] = parameters['locutor']
             config['pitch'] = parameters['pitch']
             config['gadgets_path'] = parameters['gadgets_path']
+            config['auto-start'] = True
             configurator.store()
             # Start the framework
             gadgetsContainer = resourceGadgetFramework.getGadgetsContainer()


------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to