From ad9e8e1ce3cc33d932da188a53804ff003cfe8a5 Mon Sep 17 00:00:00 2001 From: svenhoefer Date: Sat, 2 Nov 2013 14:08:40 +0100 Subject: [PATCH] - neutrino_menue: show always seperator line for secons section --- src/neutrino_menue.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/neutrino_menue.cpp b/src/neutrino_menue.cpp index c2b7959bb..dfef56f8b 100644 --- a/src/neutrino_menue.cpp +++ b/src/neutrino_menue.cpp @@ -182,11 +182,6 @@ void CNeutrinoApp::InitMenuMain() CMenuForwarder * mf; if (!g_settings.easymenu) { - //separator - personalize.addSeparator(MENU_MAIN); - - //2nd section*************************************************************************************************** - //games bool show_games = g_PluginList->hasPlugin(CPlugins::P_TYPE_GAME); mf = new CMenuForwarder(LOCALE_MAINMENU_GAMES, show_games, NULL, new CPluginList(LOCALE_MAINMENU_GAMES,CPlugins::P_TYPE_GAME)); @@ -200,6 +195,11 @@ void CNeutrinoApp::InitMenuMain() personalize.addItem(MENU_MAIN, mf, &g_settings.personalize[SNeutrinoSettings::P_MAIN_SCRIPTS]); } + //separator + personalize.addSeparator(MENU_MAIN); + + //2nd section*************************************************************************************************** + // settings, also as pin protected option in personalize menu, as a result of parameter value CPersonalizeGui::PERSONALIZE_SHOW_AS_ACCESS_OPTION mf = new CMenuForwarder(LOCALE_MAINMENU_SETTINGS, true, NULL, &personalize.getWidget(MENU_SETTINGS)/**settings**/); mf->setHint(NEUTRINO_ICON_HINT_SETTINGS, LOCALE_MENU_HINT_SETTINGS);