[tuxdroid-svn] r162 - software/gtdi/trunk
Status: Beta
Brought to you by:
ks156
From: remi <c2m...@c2...> - 2007-03-14 13:15:24
|
Author: remi Date: 2007-03-14 14:15:09 +0100 (Wed, 14 Mar 2007) New Revision: 162 Modified: software/gtdi/trunk/gtdi.py Log: UPD : - Connection to the tuxdaemon and the tuxttsdaemon has been modified Modified: software/gtdi/trunk/gtdi.py =================================================================== --- software/gtdi/trunk/gtdi.py 2007-03-14 13:05:53 UTC (rev 161) +++ software/gtdi/trunk/gtdi.py 2007-03-14 13:15:09 UTC (rev 162) @@ -260,8 +260,9 @@ tux.sys.wait(1) tux.connect_to_daemon() if tux.connected: - break + return print "TUX daemon not found !" + self.on_tux_disconnected() else: tux.sdaemon.kill() def on_tddaemon_bt_clicked(self, widget, *args): @@ -285,8 +286,9 @@ tux.sys.wait(1) tux.tts.connect_to_daemon() if tux.tts.connected: - break + return print "TTS daemon not found !" + self.on_tts_disconnected() else: tux.tts.kill_daemon() def on_ttsdaemon_bt_clicked(self, widget, *args): |