From 3d9e2befb1abfdac50ab67c33ba42fc4fa6b67d2 Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Wed, 26 May 2010 14:45:56 +0200 Subject: Bug #599794 - Reopened drafts shouldn't ask for save without change --- mail/em-composer-utils.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'mail/em-composer-utils.c') 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)); -- cgit