mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
Apollo/Kronos: Use backup with readmtdJFFS2() also for var partition
Origin commit data
------------------
Commit: 6121e57fbc
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-09-22 (Tue, 22 Sep 2015)
This commit is contained in:
@@ -99,6 +99,15 @@ void CProgressWindow::setTitle(const neutrino_locale_t title)
|
||||
#endif // VFD_UPDATE
|
||||
}
|
||||
|
||||
void CProgressWindow::setTitle(const std::string & title)
|
||||
{
|
||||
setWindowCaption(title);
|
||||
|
||||
#ifdef VFD_UPDATE
|
||||
CVFD::getInstance()->showProgressBar2(-1,NULL,-1,g_Locale->getText(ccw_caption)); // set global text in VFD
|
||||
#endif // VFD_UPDATE
|
||||
}
|
||||
|
||||
//if header is disabled we need new position for body items
|
||||
void CProgressWindow::fitItems()
|
||||
{
|
||||
|
@@ -55,6 +55,7 @@ class CProgressWindow : public CComponentsWindow, public CMenuTarget
|
||||
void showLocalStatus(const unsigned int prog);
|
||||
void showStatusMessageUTF(const std::string & text); // UTF-8
|
||||
void paint(bool do_save_bg = true);
|
||||
void setTitle(const std::string & title);
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user