[evolution] Bug #599794 - Reopened drafts shouldn't ask for save without change



commit 3d9e2befb1abfdac50ab67c33ba42fc4fa6b67d2
Author: Milan Crha <mcrha redhat com>
Date:   Wed May 26 14:45:56 2010 +0200

    Bug #599794 - Reopened drafts shouldn't ask for save without change

 mail/em-composer-utils.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index d9c8bd2..82984d6 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));



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]