aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-composer-utils.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-10-06 22:55:27 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-10-13 01:59:00 +0800
commit4118d671d44b71592f0e91abb63f2468baaa9318 (patch)
treee70f787f68034a16df1c59f75c8869618b02146b /mail/em-composer-utils.h
parenta06e4484b8df804124b5bcf88d94dec5acfba270 (diff)
downloadgsoc2013-evolution-4118d671d44b71592f0e91abb63f2468baaa9318.tar.gz
gsoc2013-evolution-4118d671d44b71592f0e91abb63f2468baaa9318.tar.zst
gsoc2013-evolution-4118d671d44b71592f0e91abb63f2468baaa9318.zip
Composer: Show cancellable operations and errors inline.
'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.
Diffstat (limited to 'mail/em-composer-utils.h')
-rw-r--r--mail/em-composer-utils.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/em-composer-utils.h b/mail/em-composer-utils.h
index fa991863f6..81e8cf1eb0 100644
--- a/mail/em-composer-utils.h
+++ b/mail/em-composer-utils.h
@@ -37,8 +37,8 @@ EMsgComposer * em_utils_compose_new_message_with_mailto
const gchar *url,
const gchar *from_uri);
GtkWidget * em_utils_edit_message (EShell *shell,
- CamelMimeMessage *message,
- CamelFolder *folder);
+ CamelFolder *folder,
+ CamelMimeMessage *message);
void em_utils_edit_messages (EShell *shell,
CamelFolder *folder,
GPtrArray *uids,