diff options
author | Milan Crha <mcrha@redhat.com> | 2011-05-30 14:43:41 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-05-30 14:43:41 +0800 |
commit | 420ac55791b7b481b5b734cf0d5ca709bd829117 (patch) | |
tree | 22a5bf4b3dc734b7d76e07983737c5bbd64c5969 | |
parent | db4de05e643a9a2563f61fbccc32a085e5e7c7d9 (diff) | |
download | gsoc2013-evolution-420ac55791b7b481b5b734cf0d5ca709bd829117.tar.gz gsoc2013-evolution-420ac55791b7b481b5b734cf0d5ca709bd829117.tar.zst gsoc2013-evolution-420ac55791b7b481b5b734cf0d5ca709bd829117.zip |
Bug #651062 - Emit operation progress on the correct cancellable
-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); |