diff options
-rw-r--r-- | composer/ChangeLog | 5 | ||||
-rw-r--r-- | composer/e-msg-composer.c | 5 |
2 files changed, 9 insertions, 1 deletions
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 <fejj@ximian.com> + + * e-msg-composer.c (autosave_load_draft): Connect to the + save-draft signal too. Fixes bug #45531. + 2003-06-27 Jeffrey Stedfast <fejj@ximian.com> * 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)); } |