** Fix for bug #451599

svn path=/trunk/; revision=33940
This commit is contained in:
Srinivasa Ragavan
2007-08-03 10:47:50 +00:00
parent 6e57758712
commit 74d7a2416b
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2007-08-03 Srinivasa Ragavan <sragavan@novell.com>
** Fix for bug #451599
* e-attachment.c: (async_progress_update_cb): Timing of setting the
attachment is downloaded has to be after creating the attachment.
2007-08-03 Milan Crha <mcrha@redhat.com>
** Fix for bug #331729

View File

@ -339,11 +339,11 @@ async_progress_update_cb (GnomeVFSAsyncHandle *handle,
if (!info->file_size)
goto error;
download_info->attachment->is_available_local = TRUE;
download_info->attachment->handle = NULL;
camel_exception_init (&ex);
e_attachment_build_remote_file (download_info->file_name, download_info->attachment, "attachment", &ex);
download_info->attachment->percentage = -1;
download_info->attachment->is_available_local = TRUE;
g_signal_emit (download_info->attachment, signals[UPDATE], 0);
g_free (download_info->file_name);
g_free (download_info);