From 0c409d2aaa8281c70277ead2cd0620fc8c5834cf Mon Sep 17 00:00:00 2001 From: Not Zed Date: Wed, 21 Apr 2004 06:52:05 +0000 Subject: set the meta data file on nntp folders. 2004-04-21 Not Zed * providers/nntp/camel-nntp-folder.c (camel_nntp_folder_new): set the meta data file on nntp folders. svn path=/trunk/; revision=25553 --- camel/providers/nntp/camel-nntp-folder.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'camel/providers/nntp') 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); -- cgit v1.2.3