mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 17:31:20 +02:00
- neutrino-menu: allow personalization for parental lock item
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -342,7 +342,7 @@ void CNeutrinoApp::InitMenuSettings()
|
||||
// parental lock
|
||||
mf = new CMenuForwarder(LOCALE_PARENTALLOCK_PARENTALLOCK, true, NULL, new CParentalSetup());
|
||||
mf->setHint(NEUTRINO_ICON_HINT_PROTECTION, LOCALE_MENU_HINT_PROTECTION);
|
||||
personalize.addItem(MENU_SETTINGS, mf, &show, false, CPersonalizeGui::PERSONALIZE_SHOW_NO);
|
||||
personalize.addItem(MENU_SETTINGS, mf, &g_settings.personalize[SNeutrinoSettings::P_MSET_PARENTALLOCK]);
|
||||
|
||||
// network
|
||||
mf = new CMenuForwarder(LOCALE_MAINSETTINGS_NETWORK, true, NULL, CNetworkSetup::getInstance());
|
||||
|
@@ -68,6 +68,7 @@ const struct personalize_settings_t personalize_settings[SNeutrinoSettings::P_SE
|
||||
{"personalize_settingsmager" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
|
||||
{"personalize_video" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
|
||||
{"personalize_audio" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
|
||||
{"personalize_parentallock" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
|
||||
{"personalize_network" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
|
||||
{"personalize_recording" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
|
||||
{"personalize_osdlang" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
|
||||
|
@@ -705,6 +705,7 @@ struct SNeutrinoSettings
|
||||
P_MSET_SETTINGS_MANAGER,
|
||||
P_MSET_VIDEO,
|
||||
P_MSET_AUDIO,
|
||||
P_MSET_PARENTALLOCK,
|
||||
P_MSET_NETWORK,
|
||||
P_MSET_RECORDING,
|
||||
P_MSET_OSDLANG,
|
||||
|
Reference in New Issue
Block a user