From d92d8f84b3688171b08f2d7fb8316c767b6d76d7 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Thu, 1 Apr 2004 21:58:38 +0000 Subject: Report progress. "Fixes" bug #56355. 2004-04-01 Jeffrey Stedfast * em-migrate.c (cp_r): Report progress. "Fixes" bug #56355. svn path=/trunk/; revision=25290 --- mail/ChangeLog | 2 ++ mail/em-migrate.c | 8 +++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/mail/ChangeLog b/mail/ChangeLog index c02c8bce98..e99fd3427b 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,5 +1,7 @@ 2004-04-01 Jeffrey Stedfast + * em-migrate.c (cp_r): Report progress. "Fixes" bug #56355. + * mail-account-gui.c (signature_changed): Set the updated sig->name on the menu item. diff --git a/mail/em-migrate.c b/mail/em-migrate.c index 19d44387d7..6465f1cf32 100644 --- a/mail/em-migrate.c +++ b/mail/em-migrate.c @@ -1356,10 +1356,12 @@ cp_r (const char *src, const char *dest) if (stat (srcpath->str, &st) == -1) continue; - if (S_ISDIR (st.st_mode)) + if (S_ISDIR (st.st_mode)) { cp_r (srcpath->str, destpath->str); - else - cp (srcpath->str, destpath->str, FALSE); + } else { + em_migrate_set_folder_name (srcpath->str); + cp (srcpath->str, destpath->str, TRUE); + } } closedir (dir); -- cgit v1.2.3