mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
*neutrino personalize: don't show parental setup in personalize setup
It's not very useful to manage parental setup with more than one pin option see also: http://www.dbox2world.net/board293-coolstream-hd1/board314-coolstream-development/p138010-personalisierungsmen%C3%BCs-anpassen/#post138010 git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2039 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -230,8 +230,8 @@ void CNeutrinoApp::InitMenuSettings()
|
|||||||
|
|
||||||
//***************************************************************************************************
|
//***************************************************************************************************
|
||||||
// save
|
// save
|
||||||
int show_save = CPersonalizeGui::PERSONALIZE_MODE_VISIBLE;
|
int show = CPersonalizeGui::PERSONALIZE_MODE_VISIBLE;
|
||||||
personalize.addItem(MENU_SETTINGS, new CMenuForwarder(LOCALE_MAINSETTINGS_SAVESETTINGSNOW, true, NULL, this, "savesettings", CRCInput::RC_red, NEUTRINO_ICON_BUTTON_RED), &show_save, false, CPersonalizeGui::PERSONALIZE_SHOW_NO);
|
personalize.addItem(MENU_SETTINGS, new CMenuForwarder(LOCALE_MAINSETTINGS_SAVESETTINGSNOW, true, NULL, this, "savesettings", CRCInput::RC_red, NEUTRINO_ICON_BUTTON_RED), &show, false, CPersonalizeGui::PERSONALIZE_SHOW_NO);
|
||||||
|
|
||||||
// separator line
|
// separator line
|
||||||
personalize.addItem(MENU_SETTINGS, GenericMenuSeparatorLine, NULL, false, CPersonalizeGui::PERSONALIZE_SHOW_NO);
|
personalize.addItem(MENU_SETTINGS, GenericMenuSeparatorLine, NULL, false, CPersonalizeGui::PERSONALIZE_SHOW_NO);
|
||||||
@@ -245,7 +245,7 @@ void CNeutrinoApp::InitMenuSettings()
|
|||||||
personalize.addItem(MENU_SETTINGS, new CMenuForwarder(LOCALE_MAINSETTINGS_AUDIO, true, NULL, new CAudioSetup()), &g_settings.personalize[SNeutrinoSettings::P_MSET_AUDIO]);
|
personalize.addItem(MENU_SETTINGS, new CMenuForwarder(LOCALE_MAINSETTINGS_AUDIO, true, NULL, new CAudioSetup()), &g_settings.personalize[SNeutrinoSettings::P_MSET_AUDIO]);
|
||||||
|
|
||||||
// parental lock
|
// parental lock
|
||||||
personalize.addItem(MENU_SETTINGS, new CMenuForwarder(LOCALE_PARENTALLOCK_PARENTALLOCK, true, NULL, new CParentalSetup()), &g_settings.personalize[SNeutrinoSettings::P_MSET_YOUTH]);
|
personalize.addItem(MENU_SETTINGS, new CMenuForwarder(LOCALE_PARENTALLOCK_PARENTALLOCK, true, NULL, new CParentalSetup()), &show, false, CPersonalizeGui::PERSONALIZE_SHOW_NO);
|
||||||
|
|
||||||
// network
|
// network
|
||||||
if(networksetup == NULL)
|
if(networksetup == NULL)
|
||||||
|
@@ -58,7 +58,6 @@ const struct personalize_settings_t personalize_settings[SNeutrinoSettings::P_SE
|
|||||||
{"personalize_settingsmager" , CPersonalizeGui::PERSONALIZE_PROTECT_MODE_NOT_PROTECTED},
|
{"personalize_settingsmager" , CPersonalizeGui::PERSONALIZE_PROTECT_MODE_NOT_PROTECTED},
|
||||||
{"personalize_video" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
|
{"personalize_video" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
|
||||||
{"personalize_audio" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
|
{"personalize_audio" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
|
||||||
{"personalize_youth" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
|
|
||||||
{"personalize_network" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
|
{"personalize_network" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
|
||||||
{"personalize_recording" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
|
{"personalize_recording" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
|
||||||
{"personalize_osdlang" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
|
{"personalize_osdlang" , CPersonalizeGui::PERSONALIZE_MODE_VISIBLE},
|
||||||
|
@@ -157,7 +157,6 @@ struct SNeutrinoSettings
|
|||||||
P_MSET_SETTINGS_MANAGER,
|
P_MSET_SETTINGS_MANAGER,
|
||||||
P_MSET_VIDEO,
|
P_MSET_VIDEO,
|
||||||
P_MSET_AUDIO,
|
P_MSET_AUDIO,
|
||||||
P_MSET_YOUTH,
|
|
||||||
P_MSET_NETWORK,
|
P_MSET_NETWORK,
|
||||||
P_MSET_RECORDING,
|
P_MSET_RECORDING,
|
||||||
P_MSET_OSDLANG,
|
P_MSET_OSDLANG,
|
||||||
|
Reference in New Issue
Block a user