Author: simplet
Date: 2008-12-02 12:57:09 +0100 (Tue, 02 Dec 2008)
New Revision: 2980

Modified:
   software_suite_v2/software/scripts/poker_blind/trunk/poker.py
Log:
* added thread (but it's still not working)


Modified: software_suite_v2/software/scripts/poker_blind/trunk/poker.py
===================================================================
--- software_suite_v2/software/scripts/poker_blind/trunk/poker.py       
2008-12-02 10:04:58 UTC (rev 2979)
+++ software_suite_v2/software/scripts/poker_blind/trunk/poker.py       
2008-12-02 11:57:09 UTC (rev 2980)
@@ -25,7 +25,7 @@
 ======================================================================
 """
 
-__author__  = 'Conversion to API V2 by Simplet <simplet _at_ ptigeek _dot_ 
net> - Original by MCMic'
+__author__  = 'Simplet <simplet _at_ ptigeek _dot_ net> - Original by MCMic'
 __appname__ = 'Poker Blind gadget'
 __version__ = '0.0.1'
 __date__    = '2008/11/26'
@@ -52,7 +52,9 @@
           "500, 1000"]
 
 def SayIt(*args):
-    tux_speak("Les blindes sont actuellement à [" + blinds[i] + "].")
+    my_text = "Les blindes sont actuellement à  [" + blinds[i] + "]."
+    t = threading.Thread(target = tux_speak, args = [my_text,])
+    t.start()
 
 def tux_speak(text):
     tux.soundFlash.play(14)


-------------------------------------------------------------------------
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