aboutsummaryrefslogtreecommitdiffstats
path: root/mail/e-mail-account-store.c
Commit message (Collapse)AuthorAgeFilesLines
* Adapt to CamelSession API changes.Matthew Barnes2012-08-121-2/+4
| | | | | | | | | | | | These functions now return new references: camel_session_add_service() camel_session_list_services() These functions have been renamed and also return new references: camel_session_get_service() -> camel_session_ref_service() camel_session_get_service_by_url() -> camel_session_ref_service_by_url()
* Rework handling of GOA mail.Matthew Barnes2012-07-161-0/+16
| | | | | | | | | | | | | | | | | | | | Disabling the mail part of an online account through the Control Center panel will now remove the CamelService from the EMailSession in addition to disabling the account/identity/transport ESources, causing it to be delisted from the account list in Preferences. Furthermore, hide the Enabled check box for accounts linked to GOA in Preferences. The collection ESource for these accounts can no longer be disabled through Evolution; all such account manipulation must be done through the Control Center panel. Lastly, display an icon next to accounts linked to GOA in Preferences. * Might be nice to show the actual provider icon instead of the generic Online Accounts icon from the Control Center, but need to think about how best to do that. Don't want a GOA dependency in core Evolution. Maybe ESourceCollection should grow a GIcon property for the online- accounts module in the registry service to set?
* EMailAccountStore: Check permissions before writing/removing sources.Matthew Barnes2012-07-161-5/+5
|
* Bug 677885 - Deleting account is chatty on consoleMatthew Barnes2012-07-071-1/+7
|
* Do not call g_object_notify() when property didn't changeMilan Crha2012-06-181-0/+3
|
* Bug 677995 - Asks password for disabled mail accountMatthew Barnes2012-06-131-7/+1
| | | | | | | | | | | | Remove mail_folder_cache_service_added() and rely instead on mail_folder_cache_service_enabled()/disabled(). Despite the function names the folder cache doesn't actually care about enabled status, it simply maintains a set of CamelStores to monitor. We should refactor the folder cache API to better reflect that. EMailAccountStore always immediately follows a "service-added" signal emission with either a "service-enabled" or "service-disabled" emission, which will add or remove the service from the folder cache.
* Bug 677679 - Folder tree unread counts don't decreaseMatthew Barnes2012-06-121-4/+22
| | | | | EMailAccountStore was not keeping MailFolderCache informed about added, removed, enabled, or disabled CamelServices.
* Fix possible use of uninitialized variableMilan Crha2012-06-121-1/+1
|
* Remove "enable-local" and "enable-vfolders" GSettings key.Matthew Barnes2012-06-091-40/+23
| | | | | We have built-in ESources for the 'local' and 'vfolder' mail stores, and can now track their enabled state as we would any other mail store.
* Synchronize identities when enabling/disabling accounts.Matthew Barnes2012-06-081-0/+64
|
* EMailAccountStore: Fix a typo.Matthew Barnes2012-06-081-1/+1
|
* EMailAccountStore: Check for a collection when adding a service.Matthew Barnes2012-06-081-0/+12
| | | | | | | | If the mail account is part of a collection of sources, we want to read the enabled state from the top-level "collection" source instead of the mail account source. Addendum: Same deal in mail_ui_session_source_changed_cb().
* EMailAccountStore: Handle collections when enabling/disablingMatthew Barnes2012-06-071-0/+28
| | | | | | If the mail account is part of a collection of sources, we want to enable or disable the top-level "collection" source instead of the mail account source.
* Adapt to single-include E-D-S libraries.Matthew Barnes2012-06-041-2/+1
|
* Adapt mail to the new ESource API.Matthew Barnes2012-06-031-181/+134
|
* Revert "Bug #668481 - Account order is not remembered"Matthew Barnes2012-06-031-136/+54
| | | | This reverts commit 61a15e4d9dd303c23b6e44af9d084e3f3c609192.
* Whitespace cleanups.Matthew Barnes2012-05-131-6/+6
|
* Bug #668481 - Account order is not rememberedMilan Crha2012-04-201-54/+136
|
* Move vfolders to libemail-engine and rest as mail-vfolder-ui. It all works andSrinivasa Ragavan2012-03-031-1/+1
| | | | | the daemon can now start the vfolder storage without bothering much with the UI.
* Move EAlert* and e-xml-utils references from other part of the code to ↵Srinivasa Ragavan2012-03-031-1/+1
| | | | libevolution-utils.
* Introduce libemail-engine and libemail-utils.Matthew Barnes2012-01-191-7/+32
| | | | | | | These libraries are bound for E-D-S so they live at the lowest layer of Evolution for now -- even libeutil can link to them (but please don't). This is the first step toward moving mail handing to a D-Bus service.
* Slow start due to instant saving of no change in an EAccountListMilan Crha2012-01-111-7/+16
|
* EMailAccountStore: Avoid a bogus runtime warning.Matthew Barnes2011-12-311-5/+6
| | | | | | If the number of SortOrder items in sortorder.ini disagrees with the number of services in the EMailAccountStore, silently revert to the default ordering rather than emitting a runtime warning.
* Reduce diff noise with account-mgmt branch.Matthew Barnes2011-12-201-15/+18
|
* Bug #666512 - Busy-loop after pressing Send/Receive toolbar buttonMilan Crha2011-12-191-7/+6
|
* mail-send-recv.c: Avoid using EAccount and CamelURL if possible.Matthew Barnes2011-12-161-15/+67
| | | | | | EAccount is deprecated and mail URLs are being phased out. Use EMailAccountStore and CamelService instead.
* Reorder accounts by drag-and-drop.Matthew Barnes2011-12-111-0/+1439
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.