summaryrefslogtreecommitdiff
path: root/apps/settings_list.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2010-10-04 10:34:38 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2010-10-04 10:34:38 +0000
commitefbcece07b3a91f4b475559997f892e24751f0e6 (patch)
treec7ee12626dbd268df4a94bd46b29f6fc7126d2d4 /apps/settings_list.c
parentae75c6eb0ae9c75173ab1b06a26cad30fc5344c9 (diff)
downloadrockbox-efbcece07b3a91f4b475559997f892e24751f0e6.tar.gz
rockbox-efbcece07b3a91f4b475559997f892e24751f0e6.zip
New setting to control the file browser start location.
Set using the menu item in folder context menus, clear in the filebrowser settings. Can be abused to start selecting a *file* (or have a folder selected) instead of a starting inside a folder by removing the trailing / in the .cfg This only affects the file browser when it would open in / before (on boot, or when entereing after backing out of the browser before (*not* when exited with the menu action) git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28206 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings_list.c')
-rw-r--r--apps/settings_list.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/settings_list.c b/apps/settings_list.c
index a8c3c36651..756d58e88f 100644
--- a/apps/settings_list.c
+++ b/apps/settings_list.c
@@ -958,6 +958,7 @@ const struct settings_list settings[] = {
958 UNIT_SEC, 3, 254, 1, NULL, NULL, storage_spindown), 958 UNIT_SEC, 3, 254, 1, NULL, NULL, storage_spindown),
959#endif /* HAVE_DISK_STORAGE */ 959#endif /* HAVE_DISK_STORAGE */
960 /* browser */ 960 /* browser */
961 TEXT_SETTING(0, start_directory, "start directory", "/", NULL, NULL),
961 CHOICE_SETTING(0, dirfilter, LANG_FILTER, SHOW_SUPPORTED, "show files", 962 CHOICE_SETTING(0, dirfilter, LANG_FILTER, SHOW_SUPPORTED, "show files",
962 "all,supported,music,playlists", NULL, 4, ID2P(LANG_ALL), 963 "all,supported,music,playlists", NULL, 4, ID2P(LANG_ALL),
963 ID2P(LANG_FILTER_SUPPORTED), ID2P(LANG_FILTER_MUSIC), 964 ID2P(LANG_FILTER_SUPPORTED), ID2P(LANG_FILTER_MUSIC),