mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
Merge remote-tracking branch 'tuxbox/master'
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
#include <gui/components/cc.h>
|
||||
#include <gui/widget/buttons.h>
|
||||
#include <gui/widget/icons.h>
|
||||
#include <gui/widget/messagebox.h>
|
||||
#include <gui/widget/msgbox.h>
|
||||
#include <gui/widget/hintbox.h>
|
||||
#include <gui/widget/stringinput.h>
|
||||
#include <gui/widget/stringinput_ext.h>
|
||||
@@ -294,9 +294,6 @@ int CAudioPlayerGui::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
m_LastMode = CNeutrinoApp::getInstance()->getMode();
|
||||
CNeutrinoApp::getInstance()->handleMsg( NeutrinoMessages::CHANGEMODE , NeutrinoMessages::mode_audio );
|
||||
|
||||
// Stop sectionsd
|
||||
g_Sectionsd->setPauseScanning(true);
|
||||
|
||||
puts("[audioplayer.cpp] executing " AUDIOPLAYER_START_SCRIPT ".");
|
||||
if (my_system(AUDIOPLAYER_START_SCRIPT) != 0)
|
||||
perror(AUDIOPLAYER_START_SCRIPT " failed");
|
||||
@@ -315,8 +312,7 @@ int CAudioPlayerGui::exec(CMenuTarget* parent, const std::string &actionKey)
|
||||
|
||||
//g_Zapit->unlockPlayBack();
|
||||
CZapit::getInstance()->EnablePlayback(true);
|
||||
// Start Sectionsd
|
||||
g_Sectionsd->setPauseScanning(false);
|
||||
|
||||
m_frameBuffer->stopFrame();
|
||||
CNeutrinoApp::getInstance()->handleMsg( NeutrinoMessages::CHANGEMODE , m_LastMode );
|
||||
g_RCInput->postMsg( NeutrinoMessages::SHOW_INFOBAR, 0 );
|
||||
@@ -2654,8 +2650,8 @@ bool CAudioPlayerGui::askToOverwriteFile(const std::string& filename)
|
||||
g_Locale->getText(LOCALE_AUDIOPLAYER_PLAYLIST_FILEOVERWRITE_MSG),
|
||||
filename.c_str());
|
||||
bool res = (ShowMsg(LOCALE_AUDIOPLAYER_PLAYLIST_FILEOVERWRITE_TITLE,
|
||||
msg,CMessageBox::mbrYes, CMessageBox::mbYes | CMessageBox::mbNo)
|
||||
== CMessageBox::mbrYes);
|
||||
msg,CMsgBox::mbrYes, CMsgBox::mbYes | CMsgBox::mbNo)
|
||||
== CMsgBox::mbrYes);
|
||||
this->paint();
|
||||
return res;
|
||||
}
|
||||
|
Reference in New Issue
Block a user