aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-operation.c
diff options
context:
space:
mode:
author2 <NotZed@Ximian.com>2001-10-03 06:03:13 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-03 06:03:13 +0800
commit1747072ed0c4fee3bbfa2e0d96035cd35b201d70 (patch)
treef92bd94d5f2202b10534e7cbf07e52ff4ee4f4bf /camel/camel-operation.c
parent8d4f5ab1c8b538084e80ccee917168902f92b14e (diff)
downloadgsoc2013-evolution-1747072ed0c4fee3bbfa2e0d96035cd35b201d70.tar.gz
gsoc2013-evolution-1747072ed0c4fee3bbfa2e0d96035cd35b201d70.tar.zst
gsoc2013-evolution-1747072ed0c4fee3bbfa2e0d96035cd35b201d70.zip
Go back to using the store url's path, not the toplevel_dir thing.
2001-10-02 <NotZed@Ximian.com> * providers/local/camel-maildir-store.c (get_folder_info): Go back to using the store url's path, not the toplevel_dir thing. * camel-operation.c (camel_operation_progress): Fix the progress logic, so we dont update too often. svn path=/trunk/; revision=13354
Diffstat (limited to 'camel/camel-operation.c')
-rw-r--r--camel/camel-operation.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/camel/camel-operation.c b/camel/camel-operation.c
index 1358cc15ab..e44d7ffde9 100644
--- a/camel/camel-operation.c
+++ b/camel/camel-operation.c
@@ -563,9 +563,9 @@ void camel_operation_progress(CamelOperation *cc, int pc)
s->pc = pc;
now = stamp();
- if (cc->status_update != now
- && s->flags & CAMEL_OPERATION_TRANSIENT
- && s->stamp/16 > now/16)
+ if (cc->status_update == now
+ || (s->flags & CAMEL_OPERATION_TRANSIENT
+ && s->stamp/16 > now/16))
cc = NULL;
else {
s->stamp = cc->status_update = now;