diff options
author | Not Zed <NotZed@Ximian.com> | 2002-07-03 11:11:03 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2002-07-03 11:11:03 +0800 |
commit | 5c2ce7a4cb22a4358a8b509888e68222bc7a3bd4 (patch) | |
tree | 5c612a2e6c6a01b41688e522235ae2009a50c774 /camel/camel-vee-folder.c | |
parent | d49a387afc10d7e43f582eda2d14cda03ae2bfe5 (diff) | |
download | gsoc2013-evolution-5c2ce7a4cb22a4358a8b509888e68222bc7a3bd4.tar.gz gsoc2013-evolution-5c2ce7a4cb22a4358a8b509888e68222bc7a3bd4.tar.zst gsoc2013-evolution-5c2ce7a4cb22a4358a8b509888e68222bc7a3bd4.zip |
If we get an exception from the child sync, update the exception string so
2002-07-03 Not Zed <NotZed@Ximian.com>
* camel-vee-folder.c (vee_sync): If we get an exception from the
child sync, update the exception string so we know where it really
was.
* camel-vee-store.c (change_folder): Util to emit created/deleted
events.
(vee_get_folder): If the folder has path elements, and its parents
dont exist, create dummy no-select nodes. This is for bug #4246.
(vee_delete_folder): Use change_folder() to save code.
* providers/local/camel-mbox-folder.c (mbox_set_message_flags):
Only set xevchange if we're storing status headers in pine format,
so we dont do a full sync every time any flag changes.
svn path=/trunk/; revision=17360
Diffstat (limited to 'camel/camel-vee-folder.c')
-rw-r--r-- | camel/camel-vee-folder.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/camel/camel-vee-folder.c b/camel/camel-vee-folder.c index 7acad9729e..ef79269bd9 100644 --- a/camel/camel-vee-folder.c +++ b/camel/camel-vee-folder.c @@ -609,8 +609,13 @@ vee_sync(CamelFolder *folder, gboolean expunge, CamelException *ex) CamelFolder *f = node->data; camel_folder_sync(f, expunge, ex); - if (camel_exception_is_set(ex)) + if (camel_exception_is_set(ex)) { + char *desc; + + camel_object_get(f, NULL, CAMEL_OBJECT_DESCRIPTION, &desc, NULL); + camel_exception_setv(ex, ex->id, _("Error storing `%s': %s"), desc, ex->desc); break; + } if (expunge && vee_folder_build_folder(vf, f, ex) == -1) break; |