mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
network-setup: small changes in locales; move npt-at-boot item up
Origin commit data
------------------
Commit: 92a8ee74f9
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-09-12 (Tue, 12 Sep 2017)
Origin message was:
------------------
- network-setup: small changes in locales; move npt-at-boot item up
This commit is contained in:
@@ -417,20 +417,20 @@ void CNetworkSetup::showNetworkNTPSetup(CMenuWidget *menu_ntp)
|
||||
CStringInput * networkSettings_NtpRefresh = new CStringInput(LOCALE_NETWORKMENU_NTPREFRESH, &g_settings.network_ntprefresh, 3,LOCALE_NETWORKMENU_NTPREFRESH_HINT1, LOCALE_NETWORKMENU_NTPREFRESH_HINT2 , "0123456789 ", sectionsdConfigNotifier);
|
||||
|
||||
CMenuOptionChooser *ntp1 = new CMenuOptionChooser(LOCALE_NETWORKMENU_NTPENABLE, &g_settings.network_ntpenable, OPTIONS_NTPENABLE_OPTIONS, OPTIONS_NTPENABLE_OPTION_COUNT, true, sectionsdConfigNotifier);
|
||||
CMenuOptionChooser *ntp9 = new CMenuOptionChooser(LOCALE_NETWORKMENU_NTPATBOOT, &g_settings.network_ntpatboot, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true); //NI
|
||||
CMenuForwarder *ntp2 = new CMenuDForwarder( LOCALE_NETWORKMENU_NTPSERVER, true , g_settings.network_ntpserver, networkSettings_NtpServer );
|
||||
CMenuForwarder *ntp3 = new CMenuDForwarder( LOCALE_NETWORKMENU_NTPREFRESH, true , g_settings.network_ntprefresh, networkSettings_NtpRefresh );
|
||||
CMenuOptionChooser *ntp9 = new CMenuOptionChooser(LOCALE_NETWORKMENU_NTPATBOOT, &g_settings.network_ntpatboot, OPTIONS_OFF0_ON1_OPTIONS, OPTIONS_OFF0_ON1_OPTION_COUNT, true); //NI
|
||||
|
||||
ntp1->setHint("", LOCALE_MENU_HINT_NET_NTPENABLE);
|
||||
ntp9->setHint("", LOCALE_MENU_HINT_NET_NTPATBOOT); //NI
|
||||
ntp2->setHint("", LOCALE_MENU_HINT_NET_NTPSERVER);
|
||||
ntp3->setHint("", LOCALE_MENU_HINT_NET_NTPREFRESH);
|
||||
ntp9->setHint("", LOCALE_MENU_HINT_NET_NTPATBOOT); //NI
|
||||
|
||||
menu_ntp->addIntroItems(LOCALE_NETWORKMENU_NTPTITLE);
|
||||
menu_ntp->addItem( ntp1);
|
||||
menu_ntp->addItem( ntp9); //NI
|
||||
menu_ntp->addItem( ntp2);
|
||||
menu_ntp->addItem( ntp3);
|
||||
menu_ntp->addItem( ntp9); //NI
|
||||
}
|
||||
|
||||
#ifdef ENABLE_GUI_MOUNT
|
||||
|
Reference in New Issue
Block a user