mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-26 15:02:56 +02:00
partial revert2: "- remove --enable-testing switch; testmenu is intergrated into usermenu"
The entry for the test menu at the end of the list inside the main menu was implemented not without reason and not for fun. Moving the test menu to the user menus (though it is not intended for users!), complicates the access to the test menu without prior configuration with nice shortcuts. Searching for a colored key or any other key (no matter it is configured or not) is always more awkward than navigation with the control cross keys, which can be used blind too. If you need it often, that's just annoying.
This commit is contained in:
@@ -68,6 +68,9 @@
|
||||
#include "gui/sleeptimer.h"
|
||||
#include "gui/timerlist.h"
|
||||
#include "gui/update_menue.h"
|
||||
#ifdef ENABLE_TESTING
|
||||
#include "gui/test_menu.h"
|
||||
#endif
|
||||
#include "gui/update.h"
|
||||
#include "gui/vfd_setup.h"
|
||||
#include "gui/videosettings.h"
|
||||
@@ -279,6 +282,10 @@ void CNeutrinoApp::InitMenuMain()
|
||||
mf->setHint(NEUTRINO_ICON_HINT_CI, LOCALE_MENU_HINT_CI);
|
||||
personalize.addItem(MENU_MAIN, mf, &g_settings.personalize[SNeutrinoSettings::P_MAIN_CISETTINGS]);
|
||||
}
|
||||
|
||||
#ifdef ENABLE_TESTING
|
||||
personalize.addItem(MENU_MAIN, new CMenuForwarder("Test menu", true, NULL, new CTestMenu()), NULL, false, CPersonalizeGui::PERSONALIZE_SHOW_NO);
|
||||
#endif
|
||||
}
|
||||
|
||||
// settings menue
|
||||
|
Reference in New Issue
Block a user