From bb4c3e2cd457dc99c7346e574111442dfe1ba81c Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 2 Jul 2003 16:31:56 +0000 Subject: Connect to the save-draft signal too. Fixes bug #45531. 2003-07-01 Jeffrey Stedfast * e-msg-composer.c (autosave_load_draft): Connect to the save-draft signal too. Fixes bug #45531. svn path=/trunk/; revision=21724 --- composer/ChangeLog | 5 +++++ composer/e-msg-composer.c | 5 ++++- 2 files changed, 9 insertions(+), 1 deletion(-) (limited to 'composer') diff --git a/composer/ChangeLog b/composer/ChangeLog index d1e9f289eb..f0b6e7fce4 100644 --- a/composer/ChangeLog +++ b/composer/ChangeLog @@ -1,3 +1,8 @@ +2003-07-01 Jeffrey Stedfast + + * e-msg-composer.c (autosave_load_draft): Connect to the + save-draft signal too. Fixes bug #45531. + 2003-06-27 Jeffrey Stedfast * e-msg-composer.c (build_message): Set the rawtext bits for the diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c index fae09f1169..f68b89341e 100644 --- a/composer/e-msg-composer.c +++ b/composer/e-msg-composer.c @@ -1335,7 +1335,10 @@ autosave_load_draft (const char *filename) autosave_save_draft (composer); g_signal_connect (GTK_OBJECT (composer), "send", - G_CALLBACK (composer_send_cb), NULL); + G_CALLBACK (composer_send_cb), NULL); + + g_signal_connect (GTK_OBJECT (composer), "save-draft", + G_CALLBACK (composer_save_draft_cb), NULL); gtk_widget_show (GTK_WIDGET (composer)); } -- cgit