From 1747072ed0c4fee3bbfa2e0d96035cd35b201d70 Mon Sep 17 00:00:00 2001 From: 2 Date: Tue, 2 Oct 2001 22:03:13 +0000 Subject: Go back to using the store url's path, not the toplevel_dir thing. 2001-10-02 * 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 --- camel/camel-operation.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'camel/camel-operation.c') 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; -- cgit