aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRadek Doulik <rodo@src.gnome.org>2002-02-12 05:49:56 +0800
committerRadek Doulik <rodo@src.gnome.org>2002-02-12 05:49:56 +0800
commit83f26d87de93fe935429cf3949a953e21a52d7d6 (patch)
treebf78db4ee82137f2a6dd23f93e46720d4ec88541
parent0b4478e5df5f78c8d18297774f3ed34c755df7fb (diff)
downloadgsoc2013-evolution-83f26d87de93fe935429cf3949a953e21a52d7d6.tar
gsoc2013-evolution-83f26d87de93fe935429cf3949a953e21a52d7d6.tar.gz
gsoc2013-evolution-83f26d87de93fe935429cf3949a953e21a52d7d6.tar.bz2
gsoc2013-evolution-83f26d87de93fe935429cf3949a953e21a52d7d6.tar.lz
gsoc2013-evolution-83f26d87de93fe935429cf3949a953e21a52d7d6.tar.xz
gsoc2013-evolution-83f26d87de93fe935429cf3949a953e21a52d7d6.tar.zst
gsoc2013-evolution-83f26d87de93fe935429cf3949a953e21a52d7d6.zip
use reset undo in editor
svn path=/trunk/; revision=15678
-rw-r--r--mail/mail-callbacks.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c
index d636778a04..565019d786 100644
--- a/mail/mail-callbacks.c
+++ b/mail/mail-callbacks.c
@@ -691,6 +691,8 @@ create_msg_composer (const MailConfigAccount *account, const char *url)
e_msg_composer_hdrs_set_from_account (E_MSG_COMPOSER_HDRS (composer->hdrs), account->name);
e_msg_composer_set_send_html (composer, send_html);
e_msg_composer_show_sig_file (composer);
+ e_msg_composer_unset_changed (composer);
+ e_msg_composer_drop_editor_undo (composer);
return GTK_WIDGET (composer);
} else
return NULL;
@@ -1047,6 +1049,8 @@ mail_generate_reply (CamelFolder *folder, CamelMimeMessage *message, const char
} else if (references) {
e_msg_composer_add_header (composer, "References", references);
}
+
+ e_msg_composer_drop_editor_undo (composer);
return composer;
}
@@ -1217,6 +1221,7 @@ do_forward_non_attached (CamelFolder *folder, char *uid, CamelMimeMessage *messa
gtk_widget_show (GTK_WIDGET (composer));
e_msg_composer_unset_changed (composer);
+ e_msg_composer_drop_editor_undo (composer);
}
g_free (text);
}
@@ -1267,6 +1272,7 @@ do_forward_attach (CamelFolder *folder, GPtrArray *messages, CamelMimePart *part
e_msg_composer_attach (composer, part);
gtk_widget_show (GTK_WIDGET (composer));
e_msg_composer_unset_changed (composer);
+ e_msg_composer_drop_editor_undo (composer);
}
}
}
@@ -1356,6 +1362,7 @@ do_redirect (CamelFolder *folder, char *uid, CamelMimeMessage *message, void *da
gtk_widget_show (GTK_WIDGET (composer));
e_msg_composer_unset_changed (composer);
+ e_msg_composer_drop_editor_undo (composer);
}
}