diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-05-13 03:32:33 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:14 +0800 |
commit | 3395074cc1ce463dc83e6ef4710b4a56e2a9fcc9 (patch) | |
tree | f5aae4b5f1afd0ca2ab07f5125a8efe3c6e39680 /mail/em-folder-utils.c | |
parent | 464bffb6211e7e9710ce7a5b9f605d237654b636 (diff) | |
download | gsoc2013-evolution-3395074cc1ce463dc83e6ef4710b4a56e2a9fcc9.tar gsoc2013-evolution-3395074cc1ce463dc83e6ef4710b4a56e2a9fcc9.tar.gz gsoc2013-evolution-3395074cc1ce463dc83e6ef4710b4a56e2a9fcc9.tar.bz2 gsoc2013-evolution-3395074cc1ce463dc83e6ef4710b4a56e2a9fcc9.tar.lz gsoc2013-evolution-3395074cc1ce463dc83e6ef4710b4a56e2a9fcc9.tar.xz gsoc2013-evolution-3395074cc1ce463dc83e6ef4710b4a56e2a9fcc9.tar.zst gsoc2013-evolution-3395074cc1ce463dc83e6ef4710b4a56e2a9fcc9.zip |
Add e_mail_reader_new_activity().
Configuring and submitting an EActivity for every mail operation is
getting tedious. This function helps reduce boilerplate code by:
* Creating a new EActivity instance.
* Installing an EAlertSink using e_mail_reader_get_alert_sink().
* Installing a GCancellable (which is really a CamelOperation).
* Submitting the activity via e_shell_backend_add_activity().
I'm considering adding a similar function (or class method) for
EShellView. Not sure yet...
Diffstat (limited to 'mail/em-folder-utils.c')
0 files changed, 0 insertions, 0 deletions