diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-07-03 00:31:56 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-07-03 00:31:56 +0800 |
commit | bb4c3e2cd457dc99c7346e574111442dfe1ba81c (patch) | |
tree | 75fba47762478bcc7c215c95e26b28217fcbd827 /composer | |
parent | 43d436a36ebd59699b20f6e49f544ad24c8d8a30 (diff) | |
download | gsoc2013-evolution-bb4c3e2cd457dc99c7346e574111442dfe1ba81c.tar.gz gsoc2013-evolution-bb4c3e2cd457dc99c7346e574111442dfe1ba81c.tar.zst gsoc2013-evolution-bb4c3e2cd457dc99c7346e574111442dfe1ba81c.zip |
Connect to the save-draft signal too. Fixes bug #45531.
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.
svn path=/trunk/; revision=21724
Diffstat (limited to 'composer')
-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)); } |