mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
gui/update_menue.cpp: re-enable 'save current software' for easymenu mode
This commit is contained in:
@@ -77,9 +77,9 @@ int CSoftwareUpdate::showSoftwareUpdate()
|
|||||||
{
|
{
|
||||||
CMenuForwarder * mf;
|
CMenuForwarder * mf;
|
||||||
CMenuWidget softUpdate(LOCALE_MAINMENU_SERVICE, NEUTRINO_ICON_UPDATE, width, MN_WIDGET_ID_SOFTWAREUPDATE);
|
CMenuWidget softUpdate(LOCALE_MAINMENU_SERVICE, NEUTRINO_ICON_UPDATE, width, MN_WIDGET_ID_SOFTWAREUPDATE);
|
||||||
|
|
||||||
softUpdate.addIntroItems(LOCALE_SERVICEMENU_UPDATE);
|
softUpdate.addIntroItems(LOCALE_SERVICEMENU_UPDATE);
|
||||||
|
|
||||||
//flashing
|
//flashing
|
||||||
CFlashUpdate flash;
|
CFlashUpdate flash;
|
||||||
#if 0
|
#if 0
|
||||||
@@ -113,14 +113,17 @@ int CSoftwareUpdate::showSoftwareUpdate()
|
|||||||
mf->setHint("", LOCALE_MENU_HINT_SOFTUPDATE_EXPERT);
|
mf->setHint("", LOCALE_MENU_HINT_SOFTUPDATE_EXPERT);
|
||||||
softUpdate.addItem(mf);
|
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, "");
|
int res = softUpdate.exec (NULL, "");
|
||||||
return res;
|
return res;
|
||||||
|
Reference in New Issue
Block a user