diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-03-12 04:18:56 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-03-12 04:18:56 +0800 |
commit | 21ab38160098c3e35c54667ed8fe86903cc059e0 (patch) | |
tree | 37bea4d1ab1da6b7cb3d44c33ba100e7c6c11b44 /mail/mail-callbacks.c | |
parent | ec3ec5b6933aaee3691b27afef85f1ce6538fe70 (diff) | |
download | gsoc2013-evolution-21ab38160098c3e35c54667ed8fe86903cc059e0.tar gsoc2013-evolution-21ab38160098c3e35c54667ed8fe86903cc059e0.tar.gz gsoc2013-evolution-21ab38160098c3e35c54667ed8fe86903cc059e0.tar.bz2 gsoc2013-evolution-21ab38160098c3e35c54667ed8fe86903cc059e0.tar.lz gsoc2013-evolution-21ab38160098c3e35c54667ed8fe86903cc059e0.tar.xz gsoc2013-evolution-21ab38160098c3e35c54667ed8fe86903cc059e0.tar.zst gsoc2013-evolution-21ab38160098c3e35c54667ed8fe86903cc059e0.zip |
Remove our X-Evolution header before we send. Also don't send messages
2001-03-10 Jeffrey Stedfast <fejj@ximian.com>
* mail-ops.c (send_queue_send): Remove our X-Evolution header
before we send. Also don't send messages that are marked for
deletion.
svn path=/trunk/; revision=8630
Diffstat (limited to 'mail/mail-callbacks.c')
-rw-r--r-- | mail/mail-callbacks.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/mail/mail-callbacks.c b/mail/mail-callbacks.c index 36213a2c8a..31a3b5513d 100644 --- a/mail/mail-callbacks.c +++ b/mail/mail-callbacks.c @@ -939,21 +939,21 @@ flag_messages(FolderBrowser *fb, guint32 mask, guint32 set) MessageList *ml = fb->message_list; GPtrArray *uids; int i; - + if (ml->folder == NULL) return; - + /* could just use specific callback but i'm lazy */ uids = g_ptr_array_new (); message_list_foreach (ml, enumerate_msg, uids); - camel_folder_freeze(ml->folder); - for (i=0;i<uids->len;i++) { - camel_folder_set_message_flags(ml->folder, uids->pdata[i], mask, set); - g_free(uids->pdata[i]); + camel_folder_freeze (ml->folder); + for (i = 0; i < uids->len; i++) { + camel_folder_set_message_flags (ml->folder, uids->pdata[i], mask, set); + g_free (uids->pdata[i]); } - camel_folder_thaw(ml->folder); - - g_ptr_array_free(uids, TRUE); + camel_folder_thaw (ml->folder); + + g_ptr_array_free (uids, TRUE); } void @@ -980,11 +980,11 @@ do_edit_messages(CamelFolder *folder, GPtrArray *uids, GPtrArray *messages, void { /*FolderBrowser *fb = data;*/ int i; - - for (i=0; i<messages->len; i++) { + + for (i = 0; i < messages->len; i++) { EMsgComposer *composer; - - composer = e_msg_composer_new_with_message(messages->pdata[i]); + + composer = e_msg_composer_new_with_message (messages->pdata[i]); if (composer) { gtk_signal_connect (GTK_OBJECT (composer), "send", composer_send_cb, NULL); |