diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-09-21 05:37:15 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-09-21 05:37:15 +0800 |
commit | 7863fdd24ffac4a0d6d13b10a90b220e058bb5ad (patch) | |
tree | 82ad6b6f34dea7f97ed1382e207694cbe722c772 | |
parent | d728e1e79c7a6e3d7797775de7d9ef0320937422 (diff) | |
download | gsoc2013-evolution-7863fdd24ffac4a0d6d13b10a90b220e058bb5ad.tar gsoc2013-evolution-7863fdd24ffac4a0d6d13b10a90b220e058bb5ad.tar.gz gsoc2013-evolution-7863fdd24ffac4a0d6d13b10a90b220e058bb5ad.tar.bz2 gsoc2013-evolution-7863fdd24ffac4a0d6d13b10a90b220e058bb5ad.tar.lz gsoc2013-evolution-7863fdd24ffac4a0d6d13b10a90b220e058bb5ad.tar.xz gsoc2013-evolution-7863fdd24ffac4a0d6d13b10a90b220e058bb5ad.tar.zst gsoc2013-evolution-7863fdd24ffac4a0d6d13b10a90b220e058bb5ad.zip |
Set the folder info path.
2001-09-20 Jeffrey Stedfast <fejj@ximian.com>
* mail-local.c (mail_local_store_add_folder): Set the folder info
path.
svn path=/trunk/; revision=13020
-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); } |