From e958aeeb765f26411544da6312bad282a5f0c867 Mon Sep 17 00:00:00 2001 From: Thomas Martitz Date: Wed, 29 Feb 2012 00:03:05 +0100 Subject: root menu ordering: Remove underscores from the config setting. The very vast majority doesn't have an underscore. There are a few exceptions but there shouldn't be introduced even more. Change-Id: I18d9bf86b5588f8a22a7a96d2dbea61fde4aba61 --- apps/settings_list.c | 2 +- manual/advanced_topics/main.tex | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/settings_list.c b/apps/settings_list.c index c4d4d27f45..5e4a07c6ee 100644 --- a/apps/settings_list.c +++ b/apps/settings_list.c @@ -1923,7 +1923,7 @@ const struct settings_list settings[] = { #endif CUSTOM_SETTING(0, root_menu, LANG_ROCKBOX_TITLE, /* lang string here is never actually used */ - NULL, "root_menu_order", + NULL, "root menu order", root_menu_load_from_cfg, root_menu_write_to_cfg, root_menu_is_changed, root_menu_set_default), }; diff --git a/manual/advanced_topics/main.tex b/manual/advanced_topics/main.tex index eaa0494691..25eff05827 100644 --- a/manual/advanced_topics/main.tex +++ b/manual/advanced_topics/main.tex @@ -8,10 +8,10 @@ It is possible to customise the main menu, i.e. to reorder or to hide some of its items. To accomplish this, the file \fname{/.rockbox/config.cfg} must be edited (presumably on the computer while the \dap{} is connected to it -via USB). There, the line starting with \config{root\_menu\_order:} must +via USB). There, the line starting with \config{root~menu~order:} must be edited (or created if it is not present yet). -The line should look like \config{root\_menu\_order:items}, where ``items'' +The line should look like \config{root~menu~order:items}, where ``items'' is a comma separated list (no spaces around the commas!) of the following words: \config{bookmarks}, \config{files}, \opt{database}{\config{database}, }% \config{wps}, \config{settings}, \opt{recording}{\config{recording}, }% @@ -23,7 +23,7 @@ in the list. The items whose words do not occur in the list will be hidden, with one exception: the menu item ``Settings'' will be shown even if its word is not in the list (it is added as the last item then). -Use the line \config{root\_menu\_order:-} to reset the menu order +Use the line \config{root~menu~order:-} to reset the menu order Only the main menu can be customised this way, submenus can not. -- cgit v1.2.3