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 | |
parent | a50635be1f2aa13eabd81d435bfe2057d30fa0e0 (diff) | |
download | gsoc2013-evolution-bd9b9819b1249c14f6959f167b64d4492f828ea1.tar gsoc2013-evolution-bd9b9819b1249c14f6959f167b64d4492f828ea1.tar.gz gsoc2013-evolution-bd9b9819b1249c14f6959f167b64d4492f828ea1.tar.bz2 gsoc2013-evolution-bd9b9819b1249c14f6959f167b64d4492f828ea1.tar.lz gsoc2013-evolution-bd9b9819b1249c14f6959f167b64d4492f828ea1.tar.xz 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
-rw-r--r-- | mail/ChangeLog | 9 | ||||
-rw-r--r-- | mail/em-folder-tree.c | 10 | ||||
-rw-r--r-- | mail/mail-mt.c | 3 |
3 files changed, 19 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 57ada8d5d4..c215c46989 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,12 @@ +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. + 2005-01-20 Not Zed <NotZed@Ximian.com> ** See bug #55831. 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, diff --git a/mail/mail-mt.c b/mail/mail-mt.c index 78d773f417..7baa6aef33 100644 --- a/mail/mail-mt.c +++ b/mail/mail-mt.c @@ -963,8 +963,7 @@ static void do_op_status(struct _mail_msg *mm) data->activity_id = e_activity_handler_operation_started (activity_handler, "evolution-mail", progress_icon, what, TRUE); - if (msg->ops->describe_msg) - g_free (what); + g_free (what); MAIL_MT_LOCK (mail_msg_lock); if (data->activity_state == 3) { |