aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-client-selector.c
Commit message (Collapse)AuthorAgeFilesLines
* EClientSelector: Show an initial icon based on host name.Matthew Barnes2013-09-151-1/+150
| | | | | | | | Have GNetworkMonitor make an initial guess at the online state of backends by evaluating the reachability of their host name. This will show an initial status icon for all displayed ESources without actually opening a connection, since some backends are expensive to start unnecssarily.
* EClientSelector: Do not prefetch EClient instancesMilan Crha2013-09-121-51/+0
| | | | | Let the open for a user, when respective source in the selector is selected.
* 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.)