aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-store.h
Commit message (Collapse)AuthorAgeFilesLines
* Reorder accounts by drag-and-drop.Matthew Barnes2011-12-111-47/+0
| | | | | | | | | | | | | | | | | | | | | 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.
* e-mail-store.c: Take EMailSession instead of EMailBackend.Matthew Barnes2011-10-271-7/+7
| | | | | | | | | | | My apologies for flip-flopping the API again. e-mail-store.c functions used to take an EMailSession, then I changed it to take an EMailBackend in preparation for my account-mgmt branch. Having rethought some API decisions on the branch, however, the first flip-flop proved to be unnecessary. And now Srini needs the API to use EMailSession for his mail-factory branch, so I'm flip-flopping again.
* Miscellaneous cleanups from the account-mgmt branch.Matthew Barnes2011-09-271-7/+7
| | | | | Reducing diff noise so I can see important changes easier when comparing branches. A few API changes, but nothing that affects functionality.
* e_mail_store_foreach(): Take an EMailSession parameter.Matthew Barnes2011-08-181-1/+2
| | | | | | Use camel_session_list_services() instead of the internal store table. The store table serves little purpose nowadays and could probably be removed. I'll look into that later.
* Use new CamelService:display-name property.Matthew Barnes2011-08-181-3/+2
| | | | Simplify, simplify...
* Including <glib.h> directly is rarely needed.Matthew Barnes2011-05-281-1/+0
|
* Adapt to CamelService changes.Matthew Barnes2011-04-211-5/+5
|
* Send errors to an EAlertSink instead of the task bar.Matthew Barnes2010-10-191-1/+2
| | | | | | 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-4/+9
| | | | | | | | | | | 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.
* Only #include Camel's top-level header.Matthew Barnes2010-04-031-1/+1
|
* Forgot to add new files.Matthew Barnes2009-06-241-0/+42