diff --git a/src/gui/software_update.cpp b/src/gui/software_update.cpp index ddc71890a..5758a65db 100644 --- a/src/gui/software_update.cpp +++ b/src/gui/software_update.cpp @@ -39,11 +39,10 @@ #include #include "software_update.h" -#include "gui/imageinfo.h" -#include -#include +#include "gui/filebrowser.h" #include #include +#include #include #include @@ -113,7 +112,6 @@ void CSoftwareUpdate::showSoftwareUpdate() softUpdate->addItem(GenericMenuSeparatorLine); softUpdate->addItem(new CMenuForwarder(LOCALE_FLASHUPDATE_CHECKUPDATE, true, NULL, new CFlashUpdate(), "", CRCInput::RC_yellow, NEUTRINO_ICON_BUTTON_YELLOW )); - softUpdate->addItem(new CMenuForwarder(LOCALE_SERVICEMENU_IMAGEINFO, true, NULL, new CImageInfo(), NULL, CRCInput::RC_blue, NEUTRINO_ICON_BUTTON_BLUE)); softUpdate->exec (NULL, ""); softUpdate->hide (); diff --git a/src/neutrino_menue.cpp b/src/neutrino_menue.cpp index 05b7776ed..eec7e8cbf 100644 --- a/src/neutrino_menue.cpp +++ b/src/neutrino_menue.cpp @@ -131,7 +131,7 @@ void CNeutrinoApp::InitMainMenu(CMenuWidget &mainMenu, CMenuWidget &mainSettings mainMenu.addItem( new CMenuSeparator(CMenuSeparator::LINE) ); // start of infomenu - //if (g_settings.show_infomenu == 0) + if (g_settings.show_infomenu == 0) mainMenu.addItem(new CMenuForwarder(LOCALE_MESSAGEBOX_INFO, true, NULL, new CInfoMenu(), NULL, CRCInput::RC_help, NEUTRINO_ICON_BUTTON_HELP_SMALL )); // end of infomenu @@ -262,8 +262,8 @@ void CNeutrinoApp::InitServiceSettings(CMenuWidget &service) service.addItem(new CMenuForwarder(LOCALE_SERVICEMENU_GETPLUGINS, true, NULL, this, "reloadplugins")); // // start infomenu in service -// if (g_settings.show_infomenu == 1) -// service.addItem(new CMenuForwarder(LOCALE_MESSAGEBOX_INFO, true, NULL, new CInfoMenu(), NULL, CRCInput::RC_help, NEUTRINO_ICON_BUTTON_HELP_SMALL )); + if (g_settings.show_infomenu == 1) + service.addItem(new CMenuForwarder(LOCALE_MESSAGEBOX_INFO, true, NULL, new CInfoMenu(), NULL, CRCInput::RC_help, NEUTRINO_ICON_BUTTON_HELP_SMALL )); // end of infomenu in service //softupdate