diff options
author | Matthew Barnes <mbarnes@src.gnome.org> | 2009-03-10 09:06:18 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2009-03-10 09:06:18 +0800 |
commit | 7a92d9cc82b7775a0f5cb1fde233119d435a79b6 (patch) | |
tree | 0bf446e28f6068a36dc3164725d3c37b05db4f6c /mail/mail-mt.c | |
parent | f963cc39a7d21f64f578dae50fd08c44181a3bf6 (diff) | |
download | gsoc2013-evolution-7a92d9cc82b7775a0f5cb1fde233119d435a79b6.tar.gz gsoc2013-evolution-7a92d9cc82b7775a0f5cb1fde233119d435a79b6.tar.zst gsoc2013-evolution-7a92d9cc82b7775a0f5cb1fde233119d435a79b6.zip |
Add e_lookup_action() and e_lookup_action_group() to e-util, so
I don't have to keep writing the algorithm over and over again.
Add EFileActivity, which provides a GCancellable for GIO operations.
Cancelling the activity cancels the GIO operation, and vice versa.
Also provides a handy GFileProgressCallback function which updates
the activity's "percent" property.
svn path=/branches/kill-bonobo/; revision=37396
Diffstat (limited to 'mail/mail-mt.c')
-rw-r--r-- | mail/mail-mt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/mail-mt.c b/mail/mail-mt.c index b246cd2899..77d8bf5dfb 100644 --- a/mail/mail-mt.c +++ b/mail/mail-mt.c @@ -988,7 +988,7 @@ op_status_exec (struct _op_status_msg *m) } data->activity = e_activity_new (what); - e_activity_set_cancellable (data->activity, TRUE); + e_activity_set_allow_cancel (data->activity, TRUE); e_activity_set_percent (data->activity, 0.0); e_shell_module_add_activity (mail_shell_module, data->activity); |