- adzap: remove useless red button

This commit is contained in:
svenhoefer
2016-03-10 09:54:49 +01:00
parent ce8837e6e7
commit 0672fdf20e

View File

@@ -44,7 +44,7 @@
#define ADZAP_DATA "/tmp/adzap.data" #define ADZAP_DATA "/tmp/adzap.data"
static const struct button_label CAdZapMenuFooterButtons[] = { static const struct button_label CAdZapMenuFooterButtons[] = {
{ NEUTRINO_ICON_BUTTON_RED, LOCALE_ADZAP_DISABLE }, //{ NEUTRINO_ICON_BUTTON_RED, LOCALE_ADZAP_DISABLE },
{ NEUTRINO_ICON_BUTTON_GREEN, LOCALE_ADZAP_ENABLE }, { NEUTRINO_ICON_BUTTON_GREEN, LOCALE_ADZAP_ENABLE },
{ NEUTRINO_ICON_BUTTON_BLUE, LOCALE_ADZAP_MONITOR } { NEUTRINO_ICON_BUTTON_BLUE, LOCALE_ADZAP_MONITOR }
}; };
@@ -313,7 +313,7 @@ void CAdZapMenu::ShowMenu()
bool show_monitor = monitorLifeTime.tv_sec; bool show_monitor = monitorLifeTime.tv_sec;
CMenuWidget *menu = new CMenuWidget(LOCALE_ADZAP, NEUTRINO_ICON_SETTINGS, width); CMenuWidget *menu = new CMenuWidget(LOCALE_ADZAP, NEUTRINO_ICON_SETTINGS, width);
menu->addKey(CRCInput::RC_red, this, "disable"); //menu->addKey(CRCInput::RC_red, this, "disable");
menu->addKey(CRCInput::RC_green, this, "enable"); menu->addKey(CRCInput::RC_green, this, "enable");
menu->addKey(CRCInput::RC_blue, this, "monitor"); menu->addKey(CRCInput::RC_blue, this, "monitor");
menu->addIntroItems(); menu->addIntroItems();