aboutsummaryrefslogtreecommitdiffstats
path: root/composer/e-msg-composer.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2003-07-03 00:31:56 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2003-07-03 00:31:56 +0800
commitbb4c3e2cd457dc99c7346e574111442dfe1ba81c (patch)
tree75fba47762478bcc7c215c95e26b28217fcbd827 /composer/e-msg-composer.c
parent43d436a36ebd59699b20f6e49f544ad24c8d8a30 (diff)
downloadgsoc2013-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/e-msg-composer.c')
-rw-r--r--composer/e-msg-composer.c5
1 files changed, 4 insertions, 1 deletions
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));
}