mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
check for active downloads before shutting down; indicate dl on vfd
Conflicts: data/locale/deutsch.locale data/locale/english.locale src/driver/lcdd.h src/driver/simple_display.cpp src/neutrino.cpp src/system/locals.h src/system/locals_intern.h
This commit is contained in:
@@ -1298,7 +1298,7 @@ int CRecordManager::exec(CMenuTarget* parent, const std::string & actionKey )
|
||||
|
||||
snprintf(rec_msg1, sizeof(rec_msg1)-1, "%s", g_Locale->getText(LOCALE_RECORDINGMENU_MULTIMENU_ASK_STOP_ALL));
|
||||
snprintf(rec_msg, sizeof(rec_msg)-1, rec_msg1, records);
|
||||
if(ShowMsg(LOCALE_SHUTDOWN_RECODING_QUERY, rec_msg,
|
||||
if(ShowMsg(LOCALE_SHUTDOWN_RECORDING_QUERY, rec_msg,
|
||||
CMessageBox::mbrYes, CMessageBox::mbYes | CMessageBox::mbNo, NULL, 450, 30, false) == CMessageBox::mbrYes)
|
||||
{
|
||||
snprintf(rec_msg1, sizeof(rec_msg1)-1, "%s", g_Locale->getText(LOCALE_RECORDINGMENU_MULTIMENU_INFO_STOP_ALL));
|
||||
@@ -1478,7 +1478,7 @@ bool CRecordManager::AskToStop(const t_channel_id channel_id, const int recid)
|
||||
if(inst == NULL)
|
||||
return false;
|
||||
|
||||
if(ShowMsg(LOCALE_SHUTDOWN_RECODING_QUERY, title.c_str(),
|
||||
if(ShowMsg(LOCALE_SHUTDOWN_RECORDING_QUERY, title.c_str(),
|
||||
CMessageBox::mbrYes, CMessageBox::mbYes | CMessageBox::mbNo, NULL, 450, 30, false) == CMessageBox::mbrYes) {
|
||||
mutex.lock();
|
||||
if (recid)
|
||||
|
Reference in New Issue
Block a user