From 7a92d9cc82b7775a0f5cb1fde233119d435a79b6 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Tue, 10 Mar 2009 01:06:18 +0000 Subject: 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 --- mail/mail-mt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mail/mail-mt.c') 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); -- cgit v1.2.3