aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-session-utils.c
Commit message (Collapse)AuthorAgeFilesLines
* Reorder accounts by drag-and-drop.Matthew Barnes2011-12-111-2/+3
| | | | | | | | | | | | | | | | | | | | | This implements https://bugzilla.gnome.org/show_bug.cgi?id=663527#c3. Account reordering is now done by drag-and-drop instead of up/down buttons. Turned out to be a wee bit more complicated than I initially thought. This scraps EAccountManager and EAccountTreeView and replaces them with new classes centered around EMailAccountStore, which EMailSession owns. EMailAccountStore is the model behind the account list in Preferences. The folder tree model now uses it to sort its own top-level rows using gtk_tree_path_compare(). It also broadcasts account operations through signals so we don't have to rely so heavily on EAccountList signals, since EAccountList is going away soon. Also as part of this work, the e-mail-local.h and e-mail-store.h APIs have been merged into EMailSession and MailFolderCache.
* Prefer g_simple_async_result_take_error().Matthew Barnes2011-10-061-22/+11
| | | | | | | | | Slightly more efficient and convenient than: g_simple_async_result_set_from_error (simple, error); g_error_free (error); One less GError to copy and destroy.
* Miscellaneous cleanups from the account-mgmt branch.Matthew Barnes2011-09-271-4/+4
| | | | | Reducing diff noise so I can see important changes easier when comparing branches. A few API changes, but nothing that affects functionality.
* Adapt to new CamelSubscribable interface.Matthew Barnes2011-08-161-2/+3
|
* Coding style and whitespace cleanup.Matthew Barnes2011-08-131-1/+3
|
* Bug #650671 - Service connect/disconnect not cancelled properlyMilan Crha2011-07-021-4/+6
|
* Bug #653618 - Sending email doesn't disconnect from a serverMilan Crha2011-06-291-5/+13
|
* Bug #651316 - Crash with Outgoing mail filtersMilan Crha2011-06-031-1/+1
|
* Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-05-271-1/+4
|
* Coding style and whitespace cleanup.Matthew Barnes2011-05-221-2/+4
|
* Cannot send message with just enabled accountMilan Crha2011-05-121-1/+6
| | | | | | | | | | | | | Everything in UI seemed as working fine, but the message is just lost, even there was printed a runtime warning on the console. This is fixing couple things along this issue: - differentiate between NULL and invalid pointers/objects in new e_mail_folder_uri_...() functions - report error to UI if mail_session_send_to_thread() fails to find corresponding transport service - call e_mail_store_add_by_account() in mail_store_load_accounts() (a side-effect of this change is no code duplication and unified processing of the same action)
* Simplify e_mail_session_unsubscribe_folder_sync().Matthew Barnes2011-05-061-31/+18
|
* Adapt to extra arg in camel_session_get_service_by_url().Matthew Barnes2011-04-291-1/+1
|
* Adapt to CamelService changes.Matthew Barnes2011-04-211-37/+34
|
* Adapt to sealed up CamelService.Matthew Barnes2011-04-181-6/+9
|
* Bug #638478 - During sending fails to parse X-Evolution-PostTo fieldMilan Crha2011-02-171-1/+1
|
* Bug 640091 - Improve error handling during send post-processingMatthew Barnes2011-01-221-1/+15
| | | | | | If a newly-composed message was successfully sent but an error occurred during post-processing (outgoing filters or appending to a Sent folder), close the composer window and show an alert in the main window.
* Bug #634385 - Crash in smtp_connectMilan Crha2010-12-151-1/+5
|
* Kill em_folder_utils_unsubscribe_folder().Matthew Barnes2010-11-011-0/+119
| | | | Use e_mail_session_unsubscribe_folder() instead.
* Skip writing to Outbox when sending.Matthew Barnes2010-10-311-81/+28
| | | | | | | When sending a message from a composer window, it seems pointless to write message to Outbox only to immediately read it back and mark it for deletion. Instead, bypass the Outbox folder when sending, and if an error occurs, offer to save the message to Outbox instead.
* Collect mail enum types in e-mail-enums.h.Matthew Barnes2010-10-191-1/+1
| | | | | | | | | And generate GTypes for each of them in e-mail-enumtypes.[ch]. Also, the glib-gen.mak script forced me to add a <mail/e-mail.h> top-level header, which really isn't a bad idea anyway. TODO: We should do this for calendar and addressbook too.
* Composer: Show cancellable operations and errors inline.Matthew Barnes2010-10-131-0/+846
'Send' and 'Save Draft' are now asynchronous and run outside of Evolution's MailMsg infrastructure. Add an EActivityBar to the composer window so these asynchronous operations can be tracked and cancelled even in the absense of a main window. Also add an EAlertBar to the composer window so error messages can be shown directly in the window. Instead of calling e_alert_dialog_run_for_args(), call e_alert_submit() and pass the EMsgComposer as the widget argument. The EMsgComposer will decide whether to show an EAlertDialog or use the EAlertBar, depending on the GtkMessageType of the alert.