diff options
author | 8 <NotZed@Ximian.com> | 2001-10-28 13:10:56 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-10-28 13:10:56 +0800 |
commit | 78b66af8ce96ab41e476d3ebf36cd85fced6d781 (patch) | |
tree | 271e7655e09c1a0a89798739e941d519765cfaa9 /camel/providers/local/camel-local-folder.c | |
parent | b1d36fe27d0434b98176a670ca67e64e5d4bb11e (diff) | |
download | gsoc2013-evolution-78b66af8ce96ab41e476d3ebf36cd85fced6d781.tar.gz gsoc2013-evolution-78b66af8ce96ab41e476d3ebf36cd85fced6d781.tar.zst gsoc2013-evolution-78b66af8ce96ab41e476d3ebf36cd85fced6d781.zip |
Use path not protocol as the path part of the uri of the folder_created
2001-10-28 <NotZed@Ximian.com>
* providers/local/camel-local-folder.c
(camel_local_folder_construct): Use path not protocol as the path
part of the uri of the folder_created event.
* providers/local/camel-maildir-store.c (scan_dir): If FAST is
set, dont try and scan for unread counts.
* providers/local/camel-local-store.c (create_folder): Implement,
just return the folderinfo of the folder matched, not all of it.
* camel-store.c (camel_store_rename_folder): Rename the
camelfolders before emitting the folderchanged event (otherwise
vstore fails to pick up change.
* camel-store.c (camel_store_init): Always use a default dir_sep
of '/'.
* camel-store.h (struct _CamelStore): Added a dir_sep to the base
store so rename and whatnot can work, temporary fix for mixed dir
separator in folder name api's.
* providers/imap/camel-map-store.c:
(imap_connect_online): Also set the store's dir_sep here.
(imap_connect_offline): "
svn path=/trunk/; revision=14275
Diffstat (limited to 'camel/providers/local/camel-local-folder.c')
-rw-r--r-- | camel/providers/local/camel-local-folder.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/camel/providers/local/camel-local-folder.c b/camel/providers/local/camel-local-folder.c index 6077a66da0..0a4d581bdf 100644 --- a/camel/providers/local/camel-local-folder.c +++ b/camel/providers/local/camel-local-folder.c @@ -229,8 +229,7 @@ camel_local_folder_construct(CamelLocalFolder *lf, CamelStore *parent_store, con fi = g_new0 (CamelFolderInfo, 1); fi->full_name = g_strdup (full_name); fi->name = g_strdup (name); - fi->url = g_strdup_printf("%s:%s#%s", ((CamelService *)parent_store)->url->protocol, - ((CamelService *)parent_store)->url->protocol, full_name); + fi->url = g_strdup_printf("%s:%s#%s", ((CamelService *)parent_store)->url->protocol, ((CamelService *)parent_store)->url->path, full_name); fi->unread_message_count = camel_folder_get_unread_message_count(folder); camel_folder_info_build_path(fi, '/'); |