summaryrefslogtreecommitdiff
path: root/apps/playlist_menu.c
diff options
context:
space:
mode:
authorHardeep Sidhu <dyp@pobox.com>2003-07-02 15:54:44 +0000
committerHardeep Sidhu <dyp@pobox.com>2003-07-02 15:54:44 +0000
commit11e7ad50a07c0ffcb2005e40c3314bb49a9a1d8b (patch)
tree4ff3c606a0e46d353253c3b1cb44f4170cf31e4f /apps/playlist_menu.c
parent8dd3a822c7cf48ae23440697e8ba76415c441a55 (diff)
downloadrockbox-11e7ad50a07c0ffcb2005e40c3314bb49a9a1d8b.tar.gz
rockbox-11e7ad50a07c0ffcb2005e40c3314bb49a9a1d8b.zip
Added "Ask" option to recursive dir insert which, if enabled, will ask users whether they want to recursively insert selected dir. Also, renamed "Insert first" and "Queue first" to "Insert next" and "Queue next" respectively.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3799 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playlist_menu.c')
-rw-r--r--apps/playlist_menu.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/apps/playlist_menu.c b/apps/playlist_menu.c
index 3508240efe..4223e3cf72 100644
--- a/apps/playlist_menu.c
+++ b/apps/playlist_menu.c
@@ -49,8 +49,13 @@ static bool save_playlist(void)
49 49
50static bool recurse_directory(void) 50static bool recurse_directory(void)
51{ 51{
52 return (set_bool( str(LANG_RECURSE_DIRECTORY), 52 char* names[] = { str(LANG_OFF),
53 &global_settings.recursive_dir_insert)); 53 str(LANG_ON),
54 str(LANG_RESUME_SETTING_ASK) };
55
56 return set_option( str(LANG_RECURSE_DIRECTORY),
57 &global_settings.recursive_dir_insert, INT, names, 3,
58 NULL );
54} 59}
55 60
56bool playlist_menu(void) 61bool playlist_menu(void)