diff options
author | Jeffrey Stedfast <fejj@novell.com> | 2005-01-21 01:49:15 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2005-01-21 01:49:15 +0800 |
commit | bd9b9819b1249c14f6959f167b64d4492f828ea1 (patch) | |
tree | d4fe616d98b78cb9dea4c49c3e685a89c64c0623 /mail/em-folder-tree.c | |
parent | a50635be1f2aa13eabd81d435bfe2057d30fa0e0 (diff) | |
download | gsoc2013-evolution-bd9b9819b1249c14f6959f167b64d4492f828ea1.tar.gz gsoc2013-evolution-bd9b9819b1249c14f6959f167b64d4492f828ea1.tar.zst gsoc2013-evolution-bd9b9819b1249c14f6959f167b64d4492f828ea1.zip |
Added a description function for copying folders (so we don't get a
2005-01-20 Jeffrey Stedfast <fejj@novell.com>
* em-folder-tree.c (emft_copy_folders__desc): Added a description
function for copying folders (so we don't get a "Working 0x..."
status message).
* mail-mt.c (do_op_status): Always g_free(what) since we always
strdup it.
svn path=/trunk/; revision=28467
Diffstat (limited to 'mail/em-folder-tree.c')
-rw-r--r-- | mail/em-folder-tree.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c index ccf4d9c001..4375b9bcc0 100644 --- a/mail/em-folder-tree.c +++ b/mail/em-folder-tree.c @@ -1999,6 +1999,14 @@ struct _EMCopyFolders { int delete; }; +static char * +emft_copy_folders__desc (struct _mail_msg *mm, int complete) +{ + struct _EMCopyFolders *m = (struct _EMCopyFolders *) mm; + + return g_strdup_printf (_("Copying `%s' to `%s'"), m->frombase, m->tobase); +} + static void emft_copy_folders__copy (struct _mail_msg *mm) { @@ -2136,7 +2144,7 @@ emft_copy_folders__free (struct _mail_msg *mm) } static struct _mail_msg_op copy_folders_op = { - NULL, + emft_copy_folders__desc, emft_copy_folders__copy, NULL, emft_copy_folders__free, |