aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-client-selector.c
Commit message (Collapse)AuthorAgeFilesLines
* EClientSelector: Pre-fetch selected clients.Matthew Barnes2013-03-021-0/+51
|
* e_client_selector_get_client_sync(): Add argument guards.Matthew Barnes2013-03-021-0/+3
|
* Never ever pre-fetch anything in EClientSelectorMilan Crha2013-03-011-36/+0
| | | | | | | | | | That's the worst idea for many reasons, couple examples: - password prompts after evolution's run for disabled (in selector) sources - too much unnecessary network I/O (most remote backends runs sync on open) - doesn't do what user told it to do (Unselected means unselected. Dot.) - unable to debug anything in factories when it misbehaves this way Next time ask peers, users and usability experts for their opinion, before doing such decision.
* EClientSelector: Pre-fetch relevant EClient instance.Matthew Barnes2013-02-221-0/+36
| | | | | | Asyncrhonously fetch all relevant EClient instances during instance initialization to try and get them cached ahead of time, and so that all status icons are present when the tree view is shown.
* EClientSelector: Add a backend status icon.Matthew Barnes2013-02-211-0/+169
| | | | | | | Append a tree view column to display a symbolic icon hinting at backend status. Currently this only displays icons for online/offline and when the backend dies. I'd also like to add a spinner icon to indicate when we're processing a query and for other long-running activities.
* Add e_client_selector_ref_cached_client_by_iter().Matthew Barnes2013-02-211-0/+37
|
* Add e_client_selector_is_backend_dead().Matthew Barnes2013-02-211-0/+36
| | | | | | | Returns TRUE if an EClient instance for the given source and the value of ESourceSelector's "extension-name" property was recently discarded after having emitted a "backend-died" signal, and a replacement EClient instance has not yet been created.
* Add EClientSelector.Matthew Barnes2013-02-191-0/+419
EClientSelector extends the functionality of ESourceSelector by utilizing an EClientCache to display status information about the backends associated with the displayed data sources. (No backend status is displayed just yet, but that's the plan.)