From 3a1c08ae45ea9773f200788c58c17e07dc68523e Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Mon, 12 Aug 2013 15:39:17 +0400 Subject: [PATCH] gui/update_settings.cpp: disable apply settings menu item on apollo, as non-working at the moment Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/73e67e8cbdd658cfb1c7536baeeb4d2381a87e27 Author: [CST] Focus Date: 2013-08-12 (Mon, 12 Aug 2013) --- src/gui/update_settings.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gui/update_settings.cpp b/src/gui/update_settings.cpp index 27e609283..8e59b5a62 100644 --- a/src/gui/update_settings.cpp +++ b/src/gui/update_settings.cpp @@ -114,7 +114,9 @@ int CUpdateSettings::initMenu() CMenuForwarder * fw_update_dir = new CMenuForwarder(LOCALE_EXTRA_UPDATE_DIR, true, g_settings.update_dir , this, "update_dir", CRCInput::RC_red, NEUTRINO_ICON_BUTTON_RED); // fw_update_dir->setHint("", LOCALE_MENU_HINT_XXX); +#ifndef BOXMODEL_APOLLO CMenuOptionChooser *apply_settings = new CMenuOptionChooser(LOCALE_FLASHUPDATE_MENU_APPLY_SETTINGS, &g_settings.apply_settings, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true, OnOffNotifier); +#endif // apply_settings->setHint("", LOCALE_MENU_HINT_XXX); #if 0 CMenuOptionChooser *apply_kernel = new CMenuOptionChooser(LOCALE_FLASHUPDATE_MENU_APPLY_KERNEL, &g_settings.apply_kernel, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, g_settings.apply_settings); @@ -125,7 +127,9 @@ int CUpdateSettings::initMenu() w_upsettings.addItem(fw_update_dir); w_upsettings.addItem(fw_url); w_upsettings.addItem(GenericMenuSeparatorLine); +#ifndef BOXMODEL_APOLLO w_upsettings.addItem(apply_settings); +#endif #if 0 w_upsettings.addItem(apply_kernel); #endif