Author: jerome
Date: 2008-07-25 21:35:00 +0200 (Fri, 25 Jul 2008)
New Revision: 1356

Added:
   software_suite_v2/software/gadgets/tuxdroid-java-gadget-HelloWorld/
   software_suite_v2/software/gadgets/tuxdroid-python-gadget-HelloWorld/
   
software_suite_v2/software/gadgets/tuxdroid-python-gadget-HelloWorld/branches/
   software_suite_v2/software/gadgets/tuxdroid-python-gadget-HelloWorld/tags/
   
software_suite_v2/software/gadgets/tuxdroid-python-gadget-HelloWorld/tags/tuxdroid-python-gadget-HelloWorld.tgf
   software_suite_v2/software/gadgets/tuxdroid-python-gadget-HelloWorld/trunk/
   
software_suite_v2/software/gadgets/tuxdroid-python-gadget-HelloWorld/trunk/gadgets.xml
   
software_suite_v2/software/gadgets/tuxdroid-python-gadget-HelloWorld/trunk/pythonHelloWorld.py
   
software_suite_v2/software/gadgets/tuxdroid-python-gadget-HelloWorld/trunk/resources/
   
software_suite_v2/software/gadgets/tuxdroid-python-gadget-HelloWorld/trunk/resources/HelloWorld.png
Removed:
   software_suite_v2/software/gadgets/HelloWorldGadget/
Log:
Modified java hello world project name.
Added python hello world gadget

Copied: software_suite_v2/software/gadgets/tuxdroid-java-gadget-HelloWorld 
(from rev 1352, software_suite_v2/software/gadgets/HelloWorldGadget)

Added: 
software_suite_v2/software/gadgets/tuxdroid-python-gadget-HelloWorld/tags/tuxdroid-python-gadget-HelloWorld.tgf
===================================================================
(Binary files differ)


Property changes on: 
software_suite_v2/software/gadgets/tuxdroid-python-gadget-HelloWorld/tags/tuxdroid-python-gadget-HelloWorld.tgf
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Added: 
software_suite_v2/software/gadgets/tuxdroid-python-gadget-HelloWorld/trunk/gadgets.xml
===================================================================
--- 
software_suite_v2/software/gadgets/tuxdroid-python-gadget-HelloWorld/trunk/gadgets.xml
                              (rev 0)
+++ 
software_suite_v2/software/gadgets/tuxdroid-python-gadget-HelloWorld/trunk/gadgets.xml
      2008-07-25 19:35:00 UTC (rev 1356)
@@ -0,0 +1,24 @@
+<gadgets>
+       <gadget>
+               <interpreter
+                       kind="bash">
+                       <executable>pythonHelloWorld.py</executable>
+               </interpreter>
+               <description>
+                       <name>HelloWorld Python Sample Gadget</name>
+                       <description>This gadget throws a simple Hello World 
notification in python</description>
+                       <author>jerome conan</author>
+                       <version>1.0</version>
+                       <iconFile>resources/HelloWorld.png</iconFile>
+                       <executionMode>command</executionMode>
+                       <uuid>548f7a9a-567c-423e-a0dd-102ff68a1a99</uuid>
+               </description>
+               <parameters>
+                       <parameter
+                               name="message"
+                               description="Message sent when I'm saying hello"
+                               type="string"
+                               defaultValue="That's work with python" />
+               </parameters>
+       </gadget>
+</gadgets>
\ No newline at end of file

Added: 
software_suite_v2/software/gadgets/tuxdroid-python-gadget-HelloWorld/trunk/pythonHelloWorld.py
===================================================================
--- 
software_suite_v2/software/gadgets/tuxdroid-python-gadget-HelloWorld/trunk/pythonHelloWorld.py
                              (rev 0)
+++ 
software_suite_v2/software/gadgets/tuxdroid-python-gadget-HelloWorld/trunk/pythonHelloWorld.py
      2008-07-25 19:35:00 UTC (rev 1356)
@@ -0,0 +1,6 @@
+#importing os to have Environnement variables support.
+import os
+
+#displpay message from xml file (paramaters changes also works.
+
+print("message " + os.environ['tgp_message'])
\ No newline at end of file

Added: 
software_suite_v2/software/gadgets/tuxdroid-python-gadget-HelloWorld/trunk/resources/HelloWorld.png
===================================================================
(Binary files differ)


Property changes on: 
software_suite_v2/software/gadgets/tuxdroid-python-gadget-HelloWorld/trunk/resources/HelloWorld.png
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Tux-droid-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tux-droid-svn

Reply via email to