-fix shutdown for neo

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@719 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
satbaby
2010-08-13 10:07:38 +00:00
parent cca6eb4fe1
commit 3c973dfdd5
6 changed files with 33 additions and 27 deletions

View File

@@ -2667,7 +2667,7 @@ int CNeutrinoApp::run(int argc, char **argv)
RealRun(mainMenu);
ExitRun(true);
ExitRun(true, (cs_get_revision() > 7));
return 0;
}
@@ -3515,7 +3515,7 @@ printf("NeutrinoMessages::EVT_BOUQUETSCHANGED\n");fflush(stdout);
}
else if( msg == NeutrinoMessages::SLEEPTIMER) {
if(g_settings.shutdown_real)
ExitRun(true);
ExitRun(true, (cs_get_revision() > 7));
else
standbyMode( true );
return messages_return::handled;
@@ -3545,7 +3545,7 @@ printf("NeutrinoMessages::EVT_BOUQUETSCHANGED\n");fflush(stdout);
}
else if( msg == NeutrinoMessages::SHUTDOWN ) {
if(!skipShutdownTimer) {
ExitRun(true);
ExitRun(true, (cs_get_revision() > 7));
}
else {
skipShutdownTimer=false;