diff options
-rw-r--r-- | mail/ChangeLog | 16 | ||||
-rw-r--r-- | mail/mail-local.c | 6 |
2 files changed, 13 insertions, 9 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index d80996b300..831bc4dee0 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,11 +1,18 @@ +2001-09-20 Jeffrey Stedfast <fejj@ximian.com> + + * mail-local.c (mail_local_store_add_folder): Set the folder info + path. + 2001-09-20 <NotZed@Ximian.com> - * mail-tools.c(mail_tool_uri_to_folder): Register vfolder sources here. + * mail-tools.c (mail_tool_uri_to_folder): Register vfolder sources + here. * folder-browser.c (got_folder): Dont register vfolder sources here. - * mail-ops.c (mail_get_folder): Add thread parameter. Fix callers. + * mail-ops.c (mail_get_folder): Add thread parameter. Fix + callers. * mail-vfolder.c (vfolder_setup): Use the 'slow' queue for setting up vfolders. @@ -17,8 +24,8 @@ 2001-09-20 Iain Holmes <iain@ximian.com> - * mail-display.c (mail_error_write): Add a <blockquote> to make the - error message look better. + * mail-display.c (mail_error_write): Add a <blockquote> to make + the error message look better. 2001-09-20 <NotZed@Ximian.com> @@ -46,7 +53,6 @@ (real_note_folder): Key the folderinfo table on full_name, not path. - 2001-09-20 Jeffrey Stedfast <fejj@ximian.com> * mail-ops.c (save_messages_save): Convert all textual parts to diff --git a/mail/mail-local.c b/mail/mail-local.c index bf5556cfcf..ddbdc26c2e 100644 --- a/mail/mail-local.c +++ b/mail/mail-local.c @@ -764,10 +764,7 @@ free_info(void *key, void *value, void *data) { CamelFolderInfo *info = value; - g_free(info->url); - g_free(info->name); - g_free(info->full_name); - free(info); + camel_folder_info_free (info); } static void @@ -837,6 +834,7 @@ static void mail_local_store_add_folder(MailLocalStore *mls, const char *uri, co info->full_name = g_strdup(path); info->name = g_strdup(name); info->unread_message_count = -1; + info->path = g_strdup (path); g_hash_table_insert(mls->folder_infos, info->url, info); } |