aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2010-05-26 20:45:56 +0800
committerMilan Crha <mcrha@redhat.com>2010-05-26 20:45:56 +0800
commit3d9e2befb1abfdac50ab67c33ba42fc4fa6b67d2 (patch)
tree9b1fe1d502f17033a54d20d22332a42b5079c695 /mail
parent6865817188d8f20ed7191697a0c62058d28466e5 (diff)
downloadgsoc2013-evolution-3d9e2befb1abfdac50ab67c33ba42fc4fa6b67d2.tar
gsoc2013-evolution-3d9e2befb1abfdac50ab67c33ba42fc4fa6b67d2.tar.gz
gsoc2013-evolution-3d9e2befb1abfdac50ab67c33ba42fc4fa6b67d2.tar.bz2
gsoc2013-evolution-3d9e2befb1abfdac50ab67c33ba42fc4fa6b67d2.tar.lz
gsoc2013-evolution-3d9e2befb1abfdac50ab67c33ba42fc4fa6b67d2.tar.xz
gsoc2013-evolution-3d9e2befb1abfdac50ab67c33ba42fc4fa6b67d2.tar.zst
gsoc2013-evolution-3d9e2befb1abfdac50ab67c33ba42fc4fa6b67d2.zip
Bug #599794 - Reopened drafts shouldn't ask for save without change
Diffstat (limited to 'mail')
-rw-r--r--mail/em-composer-utils.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index d9c8bd2fea..82984d698e 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -577,8 +577,6 @@ save_draft_done (CamelFolder *folder, CamelMimeMessage *msg, CamelMessageInfo *i
if (!ok)
goto done;
- composer_set_no_change (sdi->composer, FALSE, FALSE);
-
if ((emcs = sdi->emcs) == NULL)
emcs = emcs_new ();
@@ -986,7 +984,7 @@ edit_message (CamelMimeMessage *message, CamelFolder *drafts, const gchar *uid)
emcs_set_drafts_info (emcs, drafts, uid);
}
- composer_set_no_change (composer, TRUE, FALSE);
+ composer_set_no_change (composer, TRUE, TRUE);
if (!e_msg_composer_get_lite())
gtk_widget_show (GTK_WIDGET (composer));