diff options
Diffstat (limited to 'widgets/misc')
-rw-r--r-- | widgets/misc/ChangeLog | 7 | ||||
-rw-r--r-- | widgets/misc/e-attachment.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/widgets/misc/ChangeLog b/widgets/misc/ChangeLog index 5e7a5a06f7..f0baf734be 100644 --- a/widgets/misc/ChangeLog +++ b/widgets/misc/ChangeLog @@ -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 diff --git a/widgets/misc/e-attachment.c b/widgets/misc/e-attachment.c index 705b5bb2c8..19503c5ea9 100644 --- a/widgets/misc/e-attachment.c +++ b/widgets/misc/e-attachment.c @@ -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); |