aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2004-04-21 14:52:05 +0800
committerMichael Zucci <zucchi@src.gnome.org>2004-04-21 14:52:05 +0800
commit0c409d2aaa8281c70277ead2cd0620fc8c5834cf (patch)
treef1bb5bf4cb4b388d021c0147129b044f903b462e /camel/providers
parent618188fa1ac896a6d629c1e64e12f49c5ff65258 (diff)
downloadgsoc2013-evolution-0c409d2aaa8281c70277ead2cd0620fc8c5834cf.tar
gsoc2013-evolution-0c409d2aaa8281c70277ead2cd0620fc8c5834cf.tar.gz
gsoc2013-evolution-0c409d2aaa8281c70277ead2cd0620fc8c5834cf.tar.bz2
gsoc2013-evolution-0c409d2aaa8281c70277ead2cd0620fc8c5834cf.tar.lz
gsoc2013-evolution-0c409d2aaa8281c70277ead2cd0620fc8c5834cf.tar.xz
gsoc2013-evolution-0c409d2aaa8281c70277ead2cd0620fc8c5834cf.tar.zst
gsoc2013-evolution-0c409d2aaa8281c70277ead2cd0620fc8c5834cf.zip
set the meta data file on nntp folders.
2004-04-21 Not Zed <NotZed@Ximian.com> * providers/nntp/camel-nntp-folder.c (camel_nntp_folder_new): set the meta data file on nntp folders. svn path=/trunk/; revision=25553
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/nntp/camel-nntp-folder.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/camel/providers/nntp/camel-nntp-folder.c b/camel/providers/nntp/camel-nntp-folder.c
index 4ef92ea9b5..9fc236e215 100644
--- a/camel/providers/nntp/camel-nntp-folder.c
+++ b/camel/providers/nntp/camel-nntp-folder.c
@@ -631,6 +631,11 @@ camel_nntp_folder_new (CamelStore *parent, const char *folder_name, CamelExcepti
nntp_folder->storage_path = g_build_filename (root, folder->full_name, NULL);
g_free (root);
+ root = g_strdup_printf ("%s.cmeta", nntp_folder->storage_path);
+ camel_object_set(nntp_folder, NULL, CAMEL_OBJECT_STATE_FILE, root, NULL);
+ camel_object_state_read(nntp_folder);
+ g_free(root);
+
folder->summary = (CamelFolderSummary *) camel_nntp_summary_new (nntp_folder);
camel_folder_summary_load (folder->summary);