aboutsummaryrefslogtreecommitdiffstats
path: root/modules/composer-autosave/e-autosave-utils.c
Commit message (Collapse)AuthorAgeFilesLines
* Bug #301323 - "Edit as new message" doesn't strip signature properlyMilan Crha2013-05-071-1/+1
|
* Use g_simple_async_result_set_check_cancellable().Matthew Barnes2012-05-131-0/+4
| | | | Always call it immediately after g_simple_async_result_new().
* Prefer g_simple_async_result_take_error().Matthew Barnes2011-10-061-14/+7
| | | | | | | | | Slightly more efficient and convenient than: g_simple_async_result_set_from_error (simple, error); g_error_free (error); One less GError to copy and destroy.
* Bug #646109 - Fix use of include <config.h> to make sure translations workMilan Crha2011-05-271-0/+4
|
* Composer: Show cancellable operations and errors inline.Matthew Barnes2010-10-131-31/+50
| | | | | | | | | | | | | | | 'Send' and 'Save Draft' are now asynchronous and run outside of Evolution's MailMsg infrastructure. Add an EActivityBar to the composer window so these asynchronous operations can be tracked and cancelled even in the absense of a main window. Also add an EAlertBar to the composer window so error messages can be shown directly in the window. Instead of calling e_alert_dialog_run_for_args(), call e_alert_submit() and pass the EMsgComposer as the widget argument. The EMsgComposer will decide whether to show an EAlertDialog or use the EAlertBar, depending on the GtkMessageType of the alert.
* Adapt to Camel API changes.Matthew Barnes2010-09-281-6/+7
|
* Convert composer autosave to an EExtension.Matthew Barnes2010-09-031-0/+499
Given the way the autosave feature was awkwardly bolted on to the composer, an EExtension seemed like a natural fit. And it helped clean up some object lifecycle hacks (and bugs). What we have now is a new module consisting of two EExtensions: EComposerAutosave extends EMsgComposer and determines when to kick off an asynchronous autosave operation. EComposerRegistry extends EShell and offers to restore orphaned autosave files on startup (which is also asynchronous now). e-autosave-utils.c holds the actual asynchronous functions and a few other miscellaneous utility functions. Source code for the new module lives in /modules/composer-autosave.