diff options
author | Milan Crha <mcrha@redhat.com> | 2011-05-30 14:43:41 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:42:22 +0800 |
commit | 7b0c5691484d561baac67b538099865c24ed7f94 (patch) | |
tree | 2efa0b38e10ac88167072f4eb5e5c0629bc7d4c8 /mail | |
parent | 5f7fff50655c7daed810f978c6b8d94ef9d0f2fb (diff) | |
download | gsoc2013-evolution-7b0c5691484d561baac67b538099865c24ed7f94.tar gsoc2013-evolution-7b0c5691484d561baac67b538099865c24ed7f94.tar.gz gsoc2013-evolution-7b0c5691484d561baac67b538099865c24ed7f94.tar.bz2 gsoc2013-evolution-7b0c5691484d561baac67b538099865c24ed7f94.tar.lz gsoc2013-evolution-7b0c5691484d561baac67b538099865c24ed7f94.tar.xz gsoc2013-evolution-7b0c5691484d561baac67b538099865c24ed7f94.tar.zst gsoc2013-evolution-7b0c5691484d561baac67b538099865c24ed7f94.zip |
Bug #651062 - Emit operation progress on the correct cancellable
Diffstat (limited to 'mail')
-rw-r--r-- | mail/mail-send-recv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-send-recv.c b/mail/mail-send-recv.c index eb661cc614..61eb302adf 100644 --- a/mail/mail-send-recv.c +++ b/mail/mail-send-recv.c @@ -960,7 +960,7 @@ refresh_folders_exec (struct _refresh_folders_msg *m, get_folders (m->store, m->folders, m->finfo); - camel_operation_push_message (cancellable, _("Updating...")); + camel_operation_push_message (m->info->cancellable, _("Updating...")); for (i=0;i<m->folders->len;i++) { folder = e_mail_session_uri_to_folder_sync ( @@ -983,10 +983,10 @@ refresh_folders_exec (struct _refresh_folders_msg *m, if (m->info->state != SEND_CANCELLED) camel_operation_progress ( - cancellable, 100 * i / m->folders->len); + m->info->cancellable, 100 * i / m->folders->len); } - camel_operation_pop_message (cancellable); + camel_operation_pop_message (m->info->cancellable); if (cancellable) g_signal_handler_disconnect (m->info->cancellable, handler_id); |