summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjörn Stenberg <bjorn@haxx.se>2006-03-19 12:09:41 +0000
committerBjörn Stenberg <bjorn@haxx.se>2006-03-19 12:09:41 +0000
commit5b4307ed0c341cad2ad5b95b2b205a68743e4716 (patch)
tree7681cc0cd737b9ef055f67fa6ce75daa63d90775
parentfc390af3e823addfc336d32b7fb2aaaa7e534d59 (diff)
downloadrockbox-5b4307ed0c341cad2ad5b95b2b205a68743e4716.tar.gz
rockbox-5b4307ed0c341cad2ad5b95b2b205a68743e4716.zip
Don't warn about modifying the dynamic playlist in Party Mode. Also changed message to queue last, not insert last.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@9115 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/filetree.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/filetree.c b/apps/filetree.c
index 846e707112..bbe56e119c 100644
--- a/apps/filetree.c
+++ b/apps/filetree.c
@@ -354,7 +354,7 @@ int ft_enter(struct tree_context* c)
354 354
355 /* about to create a new current playlist... 355 /* about to create a new current playlist...
356 allow user to cancel the operation */ 356 allow user to cancel the operation */
357 if (global_settings.warnon_erase_dynplaylist && 357 if (global_settings.warnon_erase_dynplaylist &&
358 playlist_modified(NULL)) 358 playlist_modified(NULL))
359 { 359 {
360 char *lines[]={str(LANG_WARN_ERASEDYNPLAYLIST_PROMPT)}; 360 char *lines[]={str(LANG_WARN_ERASEDYNPLAYLIST_PROMPT)};
@@ -381,6 +381,7 @@ int ft_enter(struct tree_context* c)
381 /* about to create a new current playlist... 381 /* about to create a new current playlist...
382 allow user to cancel the operation */ 382 allow user to cancel the operation */
383 if (global_settings.warnon_erase_dynplaylist && 383 if (global_settings.warnon_erase_dynplaylist &&
384 !global_settings.party_mode &&
384 playlist_modified(NULL)) 385 playlist_modified(NULL))
385 { 386 {
386 char *lines[]={str(LANG_WARN_ERASEDYNPLAYLIST_PROMPT)}; 387 char *lines[]={str(LANG_WARN_ERASEDYNPLAYLIST_PROMPT)};
@@ -393,7 +394,7 @@ int ft_enter(struct tree_context* c)
393 if (global_settings.party_mode) { 394 if (global_settings.party_mode) {
394 playlist_insert_track(NULL, buf, 395 playlist_insert_track(NULL, buf,
395 PLAYLIST_INSERT_LAST, true); 396 PLAYLIST_INSERT_LAST, true);
396 gui_syncsplash(HZ, true, str(LANG_INSERT_LAST)); 397 gui_syncsplash(HZ, true, str(LANG_QUEUE_LAST));
397 } 398 }
398 else if (playlist_create(c->currdir, NULL) != -1) 399 else if (playlist_create(c->currdir, NULL) != -1)
399 { 400 {