[evolution/gnome-2-30] Bug #599794 - Reopened drafts shouldn't ask for save without change
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/gnome-2-30] Bug #599794 - Reopened drafts shouldn't ask for save without change
- Date: Wed, 26 May 2010 12:48:00 +0000 (UTC)
commit c9dc32fa5ac3e108d1818da1d0d188be4b8e3e4e
Author: Milan Crha <mcrha redhat com>
Date: Wed May 26 14:47:16 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 fc312c8..444a1a5 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -585,8 +585,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 ();
@@ -994,7 +992,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]