diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-09-11 01:11:59 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-09-11 01:11:59 +0800 |
commit | 731a90ea4af87c16fff3c367bcb786f18792a66f (patch) | |
tree | cb07756794fa6cafb4213c2c350a31d16b60c894 /mail/mail-callbacks.c | |
parent | 0ef4bba69846b14b805e219ea3a967e151b2686e (diff) | |
download | gsoc2013-evolution-731a90ea4af87c16fff3c367bcb786f18792a66f.tar gsoc2013-evolution-731a90ea4af87c16fff3c367bcb786f18792a66f.tar.gz gsoc2013-evolution-731a90ea4af87c16fff3c367bcb786f18792a66f.tar.bz2 gsoc2013-evolution-731a90ea4af87c16fff3c367bcb786f18792a66f.tar.lz gsoc2013-evolution-731a90ea4af87c16fff3c367bcb786f18792a66f.tar.xz gsoc2013-evolution-731a90ea4af87c16fff3c367bcb786f18792a66f.tar.zst gsoc2013-evolution-731a90ea4af87c16fff3c367bcb786f18792a66f.zip |
Remove some mailer-set headers. Fixes bug #9462.
2001-09-10 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (do_edit_messages): Remove some mailer-set
headers. Fixes bug #9462.
svn path=/trunk/; revision=12734
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r-- | mail/mail-callbacks.c | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index f216410546..46e6ccaa43 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -1469,16 +1469,21 @@ toggle_as_important (BonoboUIComponent *uih, void *user_data, const char *path) } static void -do_edit_messages(CamelFolder *folder, GPtrArray *uids, GPtrArray *messages, void *data) +do_edit_messages (CamelFolder *folder, GPtrArray *uids, GPtrArray *messages, void *data) { /*FolderBrowser *fb = data;*/ int i; for (i = 0; i < messages->len; i++) { EMsgComposer *composer; - + XEvolution *hdrs; + + hdrs = mail_tool_remove_xevolution_headers (messages->pdata[i]); + mail_tool_destroy_xevolution (hdrs); + camel_medium_remove_header (CAMEL_MEDIUM (messages->pdata[i]), "X-Mailer"); + composer = e_msg_composer_new_with_message (messages->pdata[i]); - + if (composer) { gtk_signal_connect (GTK_OBJECT (composer), "send", composer_send_cb, NULL); |