aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-vee-folder.c
diff options
context:
space:
mode:
author0 <NotZed@Ximian.com>2001-09-21 06:58:23 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-09-21 06:58:23 +0800
commita6aba35df1c77772c1417354a68a310f90944ced (patch)
tree861e43b059646000b3f087648ca2630438a39fcd /camel/camel-vee-folder.c
parentc503814d7ff5b5656cf1ac92c3f51a327859f76f (diff)
downloadgsoc2013-evolution-a6aba35df1c77772c1417354a68a310f90944ced.tar.gz
gsoc2013-evolution-a6aba35df1c77772c1417354a68a310f90944ced.tar.zst
gsoc2013-evolution-a6aba35df1c77772c1417354a68a310f90944ced.zip
Build the path on the folderinfo.
2001-09-20 <NotZed@Ximian.com> * providers/local/camel-maildir-store.c (camel_folder_info_new): Build the path on the folderinfo. * providers/local/camel-spool-store.c (get_folder_info): If we have this folder open, then set unread from the folder itself. (get_folder_info): Change the INBOX path to not include the leading /. * providers/local/camel-spool-folder.c (camel_spool_folder_construct): Fix path. (camel_spool_folder_construct): Properly setup the url field when we say we've got a new folder created. * providers/imap/camel-imap-store.c (unsubscribe_folder): Build path on folderinfo. * camel-store.c (camel_folder_info_build_path): Prepend / to path. * camel-vee-folder.c (camel_vee_folder_construct): Use macro for unmatched folder name. (camel_vee_folder_new): " * camel-vee-store.c (vee_get_folder_info): Use macro for unmatched folder name. (vee_delete_folder): " (vee_rename_folder): " (vee_get_folder): Prepend / onto path. (vee_delete_folder): Setup path in folderinfo. (vee_get_folder_info): Fix path in folderinfo. * camel-vee-folder.h (CAMEL_UNMATCHED_NAME): New define for unmatched (internal) name. svn path=/trunk/; revision=13022
Diffstat (limited to 'camel/camel-vee-folder.c')
-rw-r--r--camel/camel-vee-folder.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/camel/camel-vee-folder.c b/camel/camel-vee-folder.c
index 31c50a52ae..59bbcfcbf2 100644
--- a/camel/camel-vee-folder.c
+++ b/camel/camel-vee-folder.c
@@ -217,7 +217,7 @@ camel_vee_folder_construct(CamelVeeFolder *vf, CamelStore *parent_store, const c
folder_unmatched = (CamelVeeFolder *)camel_object_new (camel_vee_folder_get_type ());
d(printf("created foldeer unmatched %p\n", folder_unmatched));
- vee_folder_construct (folder_unmatched, parent_store, "UNMATCHED", CAMEL_STORE_FOLDER_PRIVATE);
+ vee_folder_construct (folder_unmatched, parent_store, CAMEL_UNMATCHED_NAME, CAMEL_STORE_FOLDER_PRIVATE);
}
UNMATCHED_UNLOCK();
@@ -247,12 +247,12 @@ camel_vee_folder_new(CamelStore *parent_store, const char *name, guint32 flags)
unmatched_uids = g_hash_table_new(g_str_hash, g_str_equal);
folder_unmatched = vf = (CamelVeeFolder *)camel_object_new(camel_vee_folder_get_type());
d(printf("created foldeer unmatched %p\n", folder_unmatched));
- vee_folder_construct (vf, parent_store, "UNMATCHED", CAMEL_STORE_FOLDER_PRIVATE);
+ vee_folder_construct (vf, parent_store, CAMEL_UNMATCHED_NAME, CAMEL_STORE_FOLDER_PRIVATE);
}
UNMATCHED_UNLOCK();
- if (strcmp(name, "UNMATCHED") == 0) {
+ if (strcmp(name, CAMEL_UNMATCHED_NAME) == 0) {
camel_object_ref((CamelObject *)folder_unmatched);
d(printf("returning unmatched %p, count = %d\n", folder_unmatched, camel_folder_get_message_count((CamelFolder *)folder_unmatched)));
return (CamelFolder *)folder_unmatched;