mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-28 16:01:10 +02:00
gui/filebrowser.cpp: save return status to check if all gui must be closed
Origin commit data
------------------
Branch: ni/coolstream
Commit: f02a95e04d
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2012-11-16 (Fri, 16 Nov 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -838,6 +838,7 @@ bool CFileBrowser::exec(const char * const dirname)
|
||||
neutrino_msg_data_t data;
|
||||
|
||||
bool res = false;
|
||||
menu_ret = menu_return::RETURN_REPAINT;
|
||||
|
||||
#ifdef ENABLE_INTERNETRADIO
|
||||
if (m_Mode == ModeSC) {
|
||||
@@ -1105,10 +1106,20 @@ bool CFileBrowser::exec(const char * const dirname)
|
||||
else if (msg == CRCInput::RC_sat || msg == CRCInput::RC_favorites) {
|
||||
//FIXME do nothing ?
|
||||
}
|
||||
else if (msg == NeutrinoMessages::STANDBY_ON ||
|
||||
msg == NeutrinoMessages::SHUTDOWN ||
|
||||
msg == NeutrinoMessages::SLEEPTIMER)
|
||||
{
|
||||
menu_ret = menu_return::RETURN_EXIT_ALL;
|
||||
loop = false;
|
||||
g_RCInput->postMsg(msg, data);
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
if ( CNeutrinoApp::getInstance()->handleMsg( msg, data ) & messages_return::cancel_all )
|
||||
{
|
||||
menu_ret = menu_return::RETURN_EXIT_ALL;
|
||||
loop = false;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user