mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-01 01:41:12 +02:00
neutrino.cpp:use yes in shutdown message as default
Origin commit data
------------------
Branch: ni/coolstream
Commit: af74eb4f7e
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-08-07 (Tue, 07 Aug 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -2728,7 +2728,7 @@ _repeat:
|
|||||||
if(data) {
|
if(data) {
|
||||||
skipShutdownTimer =
|
skipShutdownTimer =
|
||||||
(ShowLocalizedMessage(LOCALE_MESSAGEBOX_INFO, LOCALE_SHUTDOWNTIMER_ANNOUNCE,
|
(ShowLocalizedMessage(LOCALE_MESSAGEBOX_INFO, LOCALE_SHUTDOWNTIMER_ANNOUNCE,
|
||||||
CMessageBox::mbrNo, CMessageBox::mbYes | CMessageBox::mbNo, NULL, 450, 30, true) == CMessageBox::mbrYes);//FIXME
|
CMessageBox::mbrYes, CMessageBox::mbYes | CMessageBox::mbNo, NULL, 450, 30, true) == CMessageBox::mbrYes);//FIXME
|
||||||
if(skipShutdownTimer) {
|
if(skipShutdownTimer) {
|
||||||
printf("NeutrinoMessages::SLEEPTIMER: skiping\n");
|
printf("NeutrinoMessages::SLEEPTIMER: skiping\n");
|
||||||
skipShutdownTimer = false;
|
skipShutdownTimer = false;
|
||||||
@@ -2774,7 +2774,7 @@ _repeat:
|
|||||||
}
|
}
|
||||||
else if( msg == NeutrinoMessages::ANNOUNCE_SHUTDOWN) {
|
else if( msg == NeutrinoMessages::ANNOUNCE_SHUTDOWN) {
|
||||||
if( mode != mode_scart )
|
if( mode != mode_scart )
|
||||||
skipShutdownTimer = (ShowLocalizedMessage(LOCALE_MESSAGEBOX_INFO, LOCALE_SHUTDOWNTIMER_ANNOUNCE, CMessageBox::mbrNo, CMessageBox::mbYes | CMessageBox::mbNo, NULL, 450, 5) == CMessageBox::mbrYes);
|
skipShutdownTimer = (ShowLocalizedMessage(LOCALE_MESSAGEBOX_INFO, LOCALE_SHUTDOWNTIMER_ANNOUNCE, CMessageBox::mbrYes, CMessageBox::mbYes | CMessageBox::mbNo, NULL, 450, 5) == CMessageBox::mbrYes);
|
||||||
}
|
}
|
||||||
else if( msg == NeutrinoMessages::SHUTDOWN ) {
|
else if( msg == NeutrinoMessages::SHUTDOWN ) {
|
||||||
if(!skipShutdownTimer) {
|
if(!skipShutdownTimer) {
|
||||||
|
Reference in New Issue
Block a user