mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
gui/update_menue.cpp: re-enable 'save current software' for easymenu mode
Origin commit data
------------------
Commit: 53b351fc2b
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-10-30 (Wed, 30 Oct 2013)
This commit is contained in:
@@ -77,9 +77,9 @@ int CSoftwareUpdate::showSoftwareUpdate()
|
||||
{
|
||||
CMenuForwarder * mf;
|
||||
CMenuWidget softUpdate(LOCALE_MAINMENU_SERVICE, NEUTRINO_ICON_UPDATE, width, MN_WIDGET_ID_SOFTWAREUPDATE);
|
||||
|
||||
|
||||
softUpdate.addIntroItems(LOCALE_SERVICEMENU_UPDATE);
|
||||
|
||||
|
||||
//flashing
|
||||
CFlashUpdate flash;
|
||||
#if 0
|
||||
@@ -113,14 +113,17 @@ int CSoftwareUpdate::showSoftwareUpdate()
|
||||
mf->setHint("", LOCALE_MENU_HINT_SOFTUPDATE_EXPERT);
|
||||
softUpdate.addItem(mf);
|
||||
|
||||
#ifdef BOXMODEL_APOLLO
|
||||
softUpdate.addItem(GenericMenuSeparatorLine);
|
||||
|
||||
mf = new CMenuForwarder(LOCALE_FLASHUPDATE_CREATEIMAGE_MENU, true, NULL, new CFlashExpertSetup(), NULL, CRCInput::convertDigitToKey(1));
|
||||
mf->setHint("", LOCALE_MENU_HINT_SOFTUPDATE_CREATEIMAGE_MENU);
|
||||
softUpdate.addItem(mf);
|
||||
#endif
|
||||
}
|
||||
#ifdef BOXMODEL_APOLLO
|
||||
softUpdate.addItem(GenericMenuSeparatorLine);
|
||||
|
||||
if (g_settings.easymenu)
|
||||
mf = new CMenuForwarder(LOCALE_FLASHUPDATE_CREATEIMAGE_MENU, true, NULL, new CFlashExpertSetup(), NULL, CRCInput::RC_yellow, NEUTRINO_ICON_BUTTON_YELLOW);
|
||||
else
|
||||
mf = new CMenuForwarder(LOCALE_FLASHUPDATE_CREATEIMAGE_MENU, true, NULL, new CFlashExpertSetup(), NULL, CRCInput::convertDigitToKey(1));
|
||||
mf->setHint("", LOCALE_MENU_HINT_SOFTUPDATE_CREATEIMAGE_MENU);
|
||||
softUpdate.addItem(mf);
|
||||
#endif
|
||||
|
||||
int res = softUpdate.exec (NULL, "");
|
||||
return res;
|
||||
|
Reference in New Issue
Block a user