gui/update_settings.cpp: add option to enable/disable updates check on boot

This commit is contained in:
[CST] Focus
2014-10-20 14:20:26 +04:00
parent a755074c0e
commit c43438baec
5 changed files with 8 additions and 0 deletions

View File

@@ -146,6 +146,9 @@ int CUpdateSettings::initMenu()
OnOffNotifier->addItem(apply_kernel);
#endif
CMenuOptionChooser *autocheck = new CMenuOptionChooser(LOCALE_FLASHUPDATE_AUTOCHECK, &g_settings.softupdate_autocheck, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true, OnOffNotifier);
// apply_settings->setHint("", LOCALE_MENU_HINT_XXX);
w_upsettings.addItem(fw_update_dir);
w_upsettings.addItem(fw_url);
w_upsettings.addItem(name_backup);
@@ -154,6 +157,7 @@ int CUpdateSettings::initMenu()
w_upsettings.addItem(apply_settings);
w_upsettings.addItem(name_apply);
#endif
w_upsettings.addItem(autocheck);
#if 0
w_upsettings.addItem(apply_kernel);