diff options
author | Peter Williams <peterw@ximian.com> | 2001-07-07 02:58:48 +0800 |
---|---|---|
committer | Peter Williams <peterw@src.gnome.org> | 2001-07-07 02:58:48 +0800 |
commit | 068ae263a05245aa487ffc99bb5e884412043cbc (patch) | |
tree | ce0b89b86d6511d85cf044604ccc0b775b1f901d /mail/mail-callbacks.c | |
parent | 6e6eb53b37a22580c608585228fdd347f772bb02 (diff) | |
download | gsoc2013-evolution-068ae263a05245aa487ffc99bb5e884412043cbc.tar gsoc2013-evolution-068ae263a05245aa487ffc99bb5e884412043cbc.tar.gz gsoc2013-evolution-068ae263a05245aa487ffc99bb5e884412043cbc.tar.bz2 gsoc2013-evolution-068ae263a05245aa487ffc99bb5e884412043cbc.tar.lz gsoc2013-evolution-068ae263a05245aa487ffc99bb5e884412043cbc.tar.xz gsoc2013-evolution-068ae263a05245aa487ffc99bb5e884412043cbc.tar.zst gsoc2013-evolution-068ae263a05245aa487ffc99bb5e884412043cbc.zip |
Don't free the psd here -- it will be freed on the "destroy" signal.
2001-07-06 Peter Williams <peterw@ximian.com>
* mail-callbacks.c (composer_postpone_cb): Don't free the psd here --
it will be freed on the "destroy" signal.
* mail-folder-cache.c (maybe_update): Instead of an idle, use a very
short timeout in hopes of reducing the number of redundant updates.
* mail-tools.c (mail_tool_uri_to_folder): Only note the folder in the
cache if we successfully got it.
svn path=/trunk/; revision=10852
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r-- | mail/mail-callbacks.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 34ea9e4560..bff58b5bec 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -450,10 +450,8 @@ composer_postpone_cb (EMsgComposer *composer, gpointer data) mail_append_mail (outbox_folder, message, info, append_mail_cleanup, NULL); camel_object_unref (CAMEL_OBJECT (message)); - if (psd) { + if (psd) camel_folder_set_message_flags (psd->folder, psd->uid, psd->flags, psd->flags); - free_psd (NULL, psd); - } gtk_widget_destroy (GTK_WIDGET (composer)); } @@ -494,7 +492,7 @@ compose_msg (GtkWidget *widget, gpointer user_data) GTK_SIGNAL_FUNC (composer_send_cb), NULL); gtk_signal_connect (GTK_OBJECT (composer), "postpone", GTK_SIGNAL_FUNC (composer_postpone_cb), NULL); - + gtk_widget_show (composer); } @@ -1299,6 +1297,7 @@ do_edit_messages(CamelFolder *folder, GPtrArray *uids, GPtrArray *messages, void composer_send_cb, NULL); gtk_signal_connect (GTK_OBJECT (composer), "postpone", composer_postpone_cb, NULL); + gtk_widget_show (GTK_WIDGET (composer)); } } |