aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.c
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@inria.fr>1999-04-19 04:24:26 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-04-19 04:24:26 +0800
commitcaeedddbe6297eda63b386a8955546b41d6543bf (patch)
treeffe51d1cd4f469ef6bd707d1178a2de94bfb995c /camel/camel-folder.c
parentb6df9d55cb6d3b348c831f4591398a0acc8247d9 (diff)
downloadgsoc2013-evolution-caeedddbe6297eda63b386a8955546b41d6543bf.tar
gsoc2013-evolution-caeedddbe6297eda63b386a8955546b41d6543bf.tar.gz
gsoc2013-evolution-caeedddbe6297eda63b386a8955546b41d6543bf.tar.bz2
gsoc2013-evolution-caeedddbe6297eda63b386a8955546b41d6543bf.tar.lz
gsoc2013-evolution-caeedddbe6297eda63b386a8955546b41d6543bf.tar.xz
gsoc2013-evolution-caeedddbe6297eda63b386a8955546b41d6543bf.tar.zst
gsoc2013-evolution-caeedddbe6297eda63b386a8955546b41d6543bf.zip
started implementation typo uncommented the store related code.
1999-04-18 bertrand <Bertrand.Guiheneuf@inria.fr> * camel/camel-store.[ch]: started implementation * camel/camel-folder.c (camel_folder_get_type): typo uncommented the store related code. (camel_folder_create): enable som store relted code. Not finished. Have to define public methods first. * camel/camel-log.h: some explanation about the log system svn path=/trunk/; revision=854
Diffstat (limited to 'camel/camel-folder.c')
-rw-r--r--camel/camel-folder.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/camel/camel-folder.c b/camel/camel-folder.c
index 93b91f94b0..8e0660c160 100644
--- a/camel/camel-folder.c
+++ b/camel/camel-folder.c
@@ -66,7 +66,7 @@ camel_folder_class_init (CamelFolderClass *camel_folder_class)
GtkType
-gnome_camel_get_type (void)
+camel_folder_get_type (void)
{
static GtkType camel_folder_type = 0;
@@ -278,13 +278,12 @@ camel_folder_create(CamelFolder *folder)
CamelFolder *parent;
gchar sep;
-#warning Finish it when CamelStore is done
- /*g_assert(folder->parent_store);*/
+ g_assert(folder->parent_store);
g_assert(folder->name);
if ( CF_CLASS(folder)->exists(folder) ) return;
- /* sep = camel_store_get_separator(folder->parent_store); */
+ sep = camel_store_get_separator(folder->parent_store);
if (folder->parent_folder) camel_folder_create(folder->parent_folder);
else {
if (folder->full_name) {
@@ -293,9 +292,11 @@ camel_folder_create(CamelFolder *folder)
g_warning("I have to handle the case where the path is not OK\n");
return;
} else {
+#warning Public method not implemented yet !!!
+ parent = camel_store_get_folder(folder->parent_store, prefix);
+ camel_folder_create(parent);
+#warning Finish it when CamelStore is done
/*
- parent = camel_store_get_folder(folder->parentStore,prefix);
- camel_folder_create(parent);
[parent free];
*/
}