This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch gzng in repository mteleplayer. commit 33e977b7bfda01c3d1bb81bd8e908f236bc4d73b Author: gznget <opensource@gznianguan.com> Date: Sun Jun 29 16:45:25 2014 +0200 Minor cleanup of old junk we don't need... --- .../mteleplayer/bin/mteleplayer_clientside | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/clientside/lib/telekinesis/client/applications/mteleplayer/bin/mteleplayer_clientside b/clientside/lib/telekinesis/client/applications/mteleplayer/bin/mteleplayer_clientside index 561ef19..3cf427a 100755 --- a/clientside/lib/telekinesis/client/applications/mteleplayer/bin/mteleplayer_clientside +++ b/clientside/lib/telekinesis/client/applications/mteleplayer/bin/mteleplayer_clientside @@ -116,12 +116,10 @@ $mpState{'volume'} = 0;# Change this to get from server side! $mpState{'osd'} = 0; $mpState{'LASTINPUT'} = "";$mpState{'prevSecond'} = 0; ###########################33 -# CHANGE THIS!!! -open(SRF,">$LocalAppDataDIR/stillrunning");print SRF time(),"\n";close(SRF);# CHANGE THIS!!! -# CHANGE THIS!!! + ########################## $sstatusi{'lastCOMtime'} = (time()+2); -$TnW{'timeoutRound'} = Glib::Timeout->add (1000, sub {open(SRF,">$LocalAppDataDIR/stillrunning");print SRF time(),"\n";close(SRF);appCOM("YO!");if ($sstatusi{'lastCOMtime'} < (time()-2)) {&doSelfTerminate;}1;}); +$TnW{'timeoutRound'} = Glib::Timeout->add (1000, sub {appCOM("YO!");if ($sstatusi{'lastCOMtime'} < (time()-2)) {&doSelfTerminate;}1;}); #$TnW{'overlaystatechange'} = Glib::Timeout->add (250, \&overlayStateChange); connectionPresistance(); Gtk2->init; @@ -571,7 +569,6 @@ sub doSelfTerminate { if ($TnW{'timeoutRound'}) { Glib::Source->remove($TnW{'timeoutRound'}); } - unlink("$LocalAppDataDIR/stillrunning"); $runSTATE = "T"; mpCMD("quit"); usleep(100000); -- Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/mteleplayer.git