mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
gui/update_settings.cpp: add option to enable/disable updates check on boot
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user