summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/lang/english.lang43
-rw-r--r--apps/onplay.c14
2 files changed, 57 insertions, 0 deletions
diff --git a/apps/lang/english.lang b/apps/lang/english.lang
index 502c9f8..25acb51 100644
--- a/apps/lang/english.lang
+++ b/apps/lang/english.lang
@@ -10820,3 +10820,46 @@
*: "Browse Cuesheet"
</voice>
</phrase>
+<phrase>
+ id: LANG_COPYING
+ desc:
+ user:
+ <source>
+ *: "Copying..."
+ </source>
+ <dest>
+ *: "Copying..."
+ </dest>
+ <voice>
+ *: "Copying"
+ </voice>
+</phrase>
+<phrase>
+ id: LANG_DELETING
+ desc:
+ user:
+ <source>
+ *: "Deleting..."
+ </source>
+ <dest>
+ *: "Deleting..."
+ </dest>
+ <voice>
+ *: "Deleting"
+ </voice>
+</phrase>
+<phrase>
+ id: LANG_MOVING
+ desc:
+ user:
+ <source>
+ *: "Moving..."
+ </source>
+ <dest>
+ *: "Moving..."
+ </dest>
+ <voice>
+ *: "Moving"
+ </voice>
+</phrase>
+
diff --git a/apps/onplay.c b/apps/onplay.c
index ef8ca9f..d1098b7 100644
--- a/apps/onplay.c
+++ b/apps/onplay.c
@@ -529,8 +529,12 @@ static bool delete_handler(bool is_dir)
struct text_message message={lines, 2};
struct text_message yes_message={yes_lines, 2};
+
if(gui_syncyesno_run(&message, &yes_message, NULL)!=YESNO_YES)
return false;
+
+ gui_syncsplash(0, str(LANG_DELETING));
+
int res;
if (is_dir)
{
@@ -870,7 +874,16 @@ static bool clipboard_paste(void)
return false;
}
+ if (clipboard_is_copy) {
+ gui_syncsplash(0, str(LANG_COPYING));
+ }
+ else
+ {
+ gui_syncsplash(0, str(LANG_MOVING));
+ }
+
/* Now figure out what we're doing */
+ cpu_boost(true);
if (clipboard_selection_attr & ATTR_DIRECTORY) {
/* Recursion. Set up external stack */
char srcpath[MAX_PATH];
@@ -893,6 +906,7 @@ static bool clipboard_paste(void)
success = clipboard_pastefile(clipboard_selection, target,
clipboard_is_copy);
}
+ cpu_boost(false);
/* Did it work? */
if (success) {