aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-vee-store.c
diff options
context:
space:
mode:
author9 <NotZed@Ximian.com>2001-09-19 16:28:36 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-09-19 16:28:36 +0800
commitbef39dc4e0bbdb334fef71f973bcb7781dce65df (patch)
treefbb2c1a5fc3d24232d34dbce01edd587e8b84002 /camel/camel-vee-store.c
parentd9775521cad4588963b2edb297551c85fae1459f (diff)
downloadgsoc2013-evolution-bef39dc4e0bbdb334fef71f973bcb7781dce65df.tar
gsoc2013-evolution-bef39dc4e0bbdb334fef71f973bcb7781dce65df.tar.gz
gsoc2013-evolution-bef39dc4e0bbdb334fef71f973bcb7781dce65df.tar.bz2
gsoc2013-evolution-bef39dc4e0bbdb334fef71f973bcb7781dce65df.tar.lz
gsoc2013-evolution-bef39dc4e0bbdb334fef71f973bcb7781dce65df.tar.xz
gsoc2013-evolution-bef39dc4e0bbdb334fef71f973bcb7781dce65df.tar.zst
gsoc2013-evolution-bef39dc4e0bbdb334fef71f973bcb7781dce65df.zip
General cleanup of camel debug printfs.
2001-09-19 <NotZed@Ximian.com> * General cleanup of camel debug printfs. * camel-lock.c (camel_lock_fcntl): Changed to return 'success' if the error indicates file locking isn't supported on this filesystem. Still return a warning just incase (if its the first time). Might fix a lot of reported bugs. * providers/local/camel-spool-store.c (get_folder_info): Dont include the empty // host part in the uri. This 'breaks' the service lookup. svn path=/trunk/; revision=12973
Diffstat (limited to 'camel/camel-vee-store.c')
-rw-r--r--camel/camel-vee-store.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/camel/camel-vee-store.c b/camel/camel-vee-store.c
index f5de80fd56..30e4a43f79 100644
--- a/camel/camel-vee-store.c
+++ b/camel/camel-vee-store.c
@@ -132,9 +132,9 @@ vee_get_folder (CamelStore *store, const char *folder_name, guint32 flags, Camel
if (name == NULL)
name = vf->vname;
fi->name = g_strdup(name);
- fi->url = g_strdup_printf("vfolder:%s", vf->vname);
- fi->unread_message_count = -1;
-
+ fi->url = g_strdup_printf("vfolder:%s#%s", ((CamelService *)store)->url->path,
+ ((CamelFolder *)vf)->full_name);
+ fi->unread_message_count = camel_folder_get_message_count((CamelFolder *)vf);
camel_object_trigger_event(CAMEL_OBJECT(store), "folder_created", fi);
camel_folder_info_free(fi);
}