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.zip
rockbox-5b4307ed0c341cad2ad5b95b2b205a68743e4716.tar.gz
rockbox-5b4307ed0c341cad2ad5b95b2b205a68743e4716.tar.bz2
rockbox-5b4307ed0c341cad2ad5b95b2b205a68743e4716.tar.xz
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 846e707..bbe56e1 100644
--- a/apps/filetree.c
+++ b/apps/filetree.c
@@ -354,7 +354,7 @@ int ft_enter(struct tree_context* c)
/* about to create a new current playlist...
allow user to cancel the operation */
- if (global_settings.warnon_erase_dynplaylist &&
+ if (global_settings.warnon_erase_dynplaylist &&
playlist_modified(NULL))
{
char *lines[]={str(LANG_WARN_ERASEDYNPLAYLIST_PROMPT)};
@@ -381,6 +381,7 @@ int ft_enter(struct tree_context* c)
/* about to create a new current playlist...
allow user to cancel the operation */
if (global_settings.warnon_erase_dynplaylist &&
+ !global_settings.party_mode &&
playlist_modified(NULL))
{
char *lines[]={str(LANG_WARN_ERASEDYNPLAYLIST_PROMPT)};
@@ -393,7 +394,7 @@ int ft_enter(struct tree_context* c)
if (global_settings.party_mode) {
playlist_insert_track(NULL, buf,
PLAYLIST_INSERT_LAST, true);
- gui_syncsplash(HZ, true, str(LANG_INSERT_LAST));
+ gui_syncsplash(HZ, true, str(LANG_QUEUE_LAST));
}
else if (playlist_create(c->currdir, NULL) != -1)
{