diff options
author | 2 <NotZed@Ximian.com> | 2001-11-03 08:07:33 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-11-03 08:07:33 +0800 |
commit | e735e8fa8965d907fe91467482e0fb5d00364bc2 (patch) | |
tree | a769546f14ac3b4c1fce79c462c24b2f7c6d979c /mail/mail-callbacks.c | |
parent | 8fcca3dc0b5e3355977230ce61dc172652e69032 (diff) | |
download | gsoc2013-evolution-e735e8fa8965d907fe91467482e0fb5d00364bc2.tar.gz gsoc2013-evolution-e735e8fa8965d907fe91467482e0fb5d00364bc2.tar.zst gsoc2013-evolution-e735e8fa8965d907fe91467482e0fb5d00364bc2.zip |
Disconnect from the message_list_built function so we dont do it every
2001-11-02 <NotZed@Ximian.com>
* message-browser.c (message_browser_message_list_built):
Disconnect from the message_list_built function so we dont do it
every time the list is rebuilt.
* mail-callbacks.c (composer_send_cb): Disable autosave when we're
sending mail.
(composer_sent_cb): Re-enable autosave.
* folder-browser-ui.c (fbui_sensitize_timeout): Make sure we reset
any data we're using on the folderbrowser before doing anything
'cause things could vanish while we're doing it, and also
ref/unref the folderbrowser so it doesn't vanish while w'ere
working.
* folder-browser.c (folder_browser_set_ui_component): If we are
changing the ui comp, remove any pending timeouts. For #13719.
svn path=/trunk/; revision=14575
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r-- | mail/mail-callbacks.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index cb4f217ad6..ae3fdaad75 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -424,6 +424,7 @@ composer_sent_cb (char *uri, CamelMimeMessage *message, gboolean sent, void *dat } gtk_widget_destroy (GTK_WIDGET (send->composer)); } else { + e_msg_composer_set_enable_autosave(send->composer, TRUE); gtk_widget_show (GTK_WIDGET (send->composer)); gtk_object_unref (GTK_OBJECT (send->composer)); } @@ -617,6 +618,7 @@ composer_send_cb (EMsgComposer *composer, gpointer data) send->composer = composer; gtk_object_ref (GTK_OBJECT (composer)); gtk_widget_hide (GTK_WIDGET (composer)); + e_msg_composer_set_enable_autosave(composer, FALSE); mail_send_mail (transport->url, message, composer_sent_cb, send); } |