aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-session.c
Commit message (Collapse)AuthorAgeFilesLines
* Simplify EActivity.Matthew Barnes2010-10-231-8/+22
| | | | | | | | | | | | | | | | | | | | | | With unintrusive error dialogs gone, we can cut some unnecessary bits out of EActivity. I'm also adding a new enum property called "state", which is one of: E_ACTIVITY_RUNNING E_ACTIVITY_WAITING E_ACTIVITY_CANCELLED E_ACTIVITY_COMPLETED The state of an activity must be explicitly changed. In particular, when the user cancels an activity the state should be set only after confirming the operation has been cancelled and not when cancellation is requested (e.g. after receiving a G_IO_ERROR_CANCELLED, not when the GCancellable emits "cancelled"). EActivityBar and EActivityProxy widgets have been updated to make this distinction clearer in the UI. E_ACTIVITY_WAITING will be used when activities have to be queued and dispatched in sequence, which I haven't written yet.
* 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.
* Move more account utilities to e-account-utils.c.Matthew Barnes2010-10-191-3/+4
|
* Kill mail_config_service_set_save_passwd().Matthew Barnes2010-10-191-1/+1
|
* Kill mail_config_get_gconf_client().Matthew Barnes2010-10-191-12/+27
|
* Send errors to an EAlertSink instead of the task bar.Matthew Barnes2010-10-191-27/+76
| | | | | | This marks the end of unintrusive error dialogs, which were too unintrusive. We now show errors directly in the main window using the EAlert / EAlertSink framework.
* Give MailSession a permanent home.Matthew Barnes2010-10-131-0/+1376
Global variables in shared libraries are a bad idea. EMailBackend now owns the MailSession instance, which is actually now EMailSession. Move the blocking utility functions in mail-tools.c to e-mail-session.c and add asynchronous variants. Same approach as Camel. Replace EMailReader.get_shell_backend() with EMailReader.get_backend(), which returns an EMailBackend. Easier access to the EMailSession.