aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-callbacks.c
Commit message (Collapse)AuthorAgeFilesLines
* Updated to use the new mail_do_filter_ondemand.Jeffrey Stedfast2000-09-121-12/+1
| | | | | | | | | | | | | | | | | 2000-09-11 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (run_filter_ondemand): Updated to use the new mail_do_filter_ondemand. * mail-ops.c (do_fetch_mail): Update to use the new filter_driver_run args. (do_filter_ondemand): Updated to use the new filter_driver_run args. (mail_do_filter_ondemand): Take a FilterContext as a argument instead of a driver as we need to destroy the filter inside the do_filter_ondemand function and things'd get messy. svn path=/trunk/; revision=5347
* New async function to filter messages on demand. (do_fetch_mail): UpdatedJeffrey Stedfast2000-09-071-57/+57
| | | | | | | | | | | | | | | | | | | | 2000-09-06 Jeffrey Stedfast <fejj@helixcode.com> * mail-ops.c (mail_do_filter_ondemand): New async function to filter messages on demand. (do_fetch_mail): Updated to filter 1 message at a time using the new filter-driver code * mail-callbacks.c (composer_postpone_cb): Send NULL as the message info. (run_filter_ondemand): Use mail_do_filter_ondemand instead of filter_driver_run * mail-tools.c: Removed mail_tool_filter_contents_into and mail_tool_fetch_mail_into_searchable as they have now been deprecated. svn path=/trunk/; revision=5225
* Change the "Get Mail" toolbar button to become "Send & Receieve"Jeffrey Stedfast2000-09-031-14/+60
| | | | | | | | | | | | | | | | | | | | 2000-09-03 Jeffrey Stedfast <fejj@helixcode.com> * folder-browser-factory.c: Change the "Get Mail" toolbar button to become "Send & Receieve" * mail-callbacks.c (send_queued_mail): New callback function for sending queued mail (send_receieve_mail): New callback for Send & Receieve that basically just calls send_queued_mail and then fetch_mail * mail-ops.c (cleanup_send_mail): Mod to be able to handle a NULL composer window (setup_send_mail): Modified to handle a NULL composer widget (mail_do_send_queue): New convenience async function to send all messages in a folder (aka all messages in a queue) svn path=/trunk/; revision=5184
* Attach a callback to the postpone signal (send_to_url): Same (mail_reply):Jeffrey Stedfast2000-09-021-13/+53
| | | | | | | | | | | | | | | | | | | | | | | | 2000-09-01 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (compose_msg): Attach a callback to the postpone signal (send_to_url): Same (mail_reply): Same (forward_msg): Same (composer_postpone_cb): Callback function for the postpone signal * mail-ops.c (mail_do_setup_outbox): New convenience function to load the Outbox folder (mail_do_setup_sentbox): Same, but for Sentbox. (do_send_mail): Now saves messages in Sentbox if sent successfully (mail_do_append_mail): New convenience async function for appending messages to a folder * component-factory.c: Added outbox_folder and sent_folder (owner_set_cb): Call our new convenience functions to load Outbox and Sentbox svn path=/trunk/; revision=5178
* Update this and related functions to no longer take a From address. (TheDan Winship2000-08-301-26/+6
| | | | | | | | | | | | | | | | | * mail-ops.c (mail_do_send_mail): Update this and related functions to no longer take a From address. (The composer deals with it itself now.) (do_send_mail): Add the Evolution version back to the X-Mailer header (this change got lost in the thread migration). * mail-callbacks.c (composer_send_cb): Don't re-fetch the From address. It's set by the composer now. Don't free the post_send_data from here. (mail_reply): Attach to the composer's destroy signal to free the psd. (The current code would free it more than once if an error occurred while trying to send the first time.) svn path=/trunk/; revision=5102
* Free the from address when we're done with it. Also,Jeffrey Stedfast2000-08-291-12/+10
| | | | | | | | | | 2000-08-28 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (composer_send_cb): Free the from address when we're done with it. Also, e_msg_composer_hdrs_get_from returns alloc'd memory so don't strdup it. svn path=/trunk/; revision=5083
* Goodbye, GDK_THREADS!Peter Williams2000-08-281-6/+6
| | | | svn path=/trunk/; revision=5074
* Added bonobo menu handler for mark_all_deleted function.Ariel Rios2000-08-281-0/+14
| | | | | | | | | | | | 2000-08-27 Ariel Rios <ariel@arcavia.com> * folder-browser-factory.c (control_activate): Added bonobo menu handler for mark_all_deleted function. * mail.h: (mark_all_deleted): Added prototype. * mail-callbacks.c (mark_all_deleted): Added callback for marking all displayed messages in a folder as$ svn path=/trunk/; revision=5067
* Start adding progress info; make flag_all_messages camel-safe; make the no ↵Peter Williams2000-08-251-4/+2
| | | | | | new mail dialog more descriptive. svn path=/trunk/; revision=5016
* Fix GDK_THREADS_entering and leaving, hopefully once and for all. Genericify ↵Peter Williams2000-08-251-72/+91
| | | | | | the recursive-store-loading. Load stores when they're added to the config page. svn path=/trunk/; revision=5005
* Automatically connect services when given a valid URL (should hopefully ↵Peter Williams2000-08-231-4/+4
| | | | | | disconnect, too); remove the old movemail folder correctly. svn path=/trunk/; revision=4965
* Filtering on demand! booyeah!Peter Williams2000-08-181-1/+18
| | | | svn path=/trunk/; revision=4864
* Add support for copying messagesPeter Williams2000-08-161-4/+22
| | | | svn path=/trunk/; revision=4845
* Toggling a flag is an "instantaneous" operation, so if we're only doingDan Winship2000-08-121-2/+15
| | | | | | | | | | * mail-callbacks.c (delete_msg): Toggling a flag is an "instantaneous" operation, so if we're only doing one, just do it and return, rather than queueing it for the other thread. This makes the "Delete" key work correctly (move to the next message) again. svn path=/trunk/; revision=4778
* Fix some warnings. Make 'configure folder' a modal dialog.Peter Williams2000-08-121-4/+4
| | | | svn path=/trunk/; revision=4747
* Fix the camel-folder's thaw handler. Implement event forwarding into the ↵Peter Williams2000-08-121-7/+24
| | | | | | main thread. svn path=/trunk/; revision=4744
* If the caller passes "-1" for the model row, translate that to view row 0.Dan Winship2000-08-121-3/+1
| | | | | | | | | | | * message-list.c (message_list_select): If the caller passes "-1" for the model row, translate that to view row 0. * message-list.c (idle_select_row): * mail-callbacks.c (select_first_unread): Use new message_list_select kludge^H^H^H^H^H^Hfeature svn path=/trunk/; revision=4743
* Don't call e_setup_base_dir. It was wrong and it doesn't exist any more.Dan Winship2000-08-111-1/+0
| | | | | | | | | | | | | | | | | | | * session.c (session_init): Don't call e_setup_base_dir. It was wrong and it doesn't exist any more. * component-factory.c (owner_set_cb): Update for changed prototype, and record the evolution_homedir. Move call to mail_config_init here from session.c so it happens after evolution_dir is initialized. * mail.h: define "extern char *evolution_dir;" (formerly in e-util/e-setup.h) * component-factory.c, mail-callbacks.c, mail-config-gui.c, mail-config.c, mail-display.c, mail-format.c, mail-ops.c, mail-tools.c, session.c: Remove "e-util/e-setup.h" include. svn path=/trunk/; revision=4712
* Fix compile warning by casting the object to a CamelObjectJeffrey Stedfast2000-08-111-10/+10
| | | | | | | | | 2000-08-10 Jeffrey Stedfast <fejj@helixcode.com> * mail-callbacks.c (composer_send_cb): Fix compile warning by casting the object to a CamelObject svn path=/trunk/; revision=4697
* Fix the infinite movemailPeter Williams2000-08-111-1/+1
| | | | svn path=/trunk/; revision=4696
* Fix a bug in the async changes. (This was identical to reply_to_sender.)Dan Winship2000-08-111-1/+1
| | | | | | | * mail-callbacks.c (reply_to_all): Fix a bug in the async changes. (This was identical to reply_to_sender.) svn path=/trunk/; revision=4694
* oopsPeter Williams2000-08-111-0/+592
svn path=/trunk/; revision=4688