aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog6
-rw-r--r--mail/mail-ops.c1
-rw-r--r--mail/mail-vfolder.c8
3 files changed, 13 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index cfc5a4ce0d..98f8d7eb37 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,3 +1,9 @@
+2000-09-01 Ettore Perazzoli <ettore@helixcode.com>
+
+ * mail-ops.c (cleanup_scan_subfolders): Update for the extra arg
+ needed by `evolution_storage_new_folder()'.
+ * mail-vfolder.c (vfolder_refresh): Likewise.
+
2000-08-30 Ettore Perazzoli <ettore@helixcode.com>
* mail-view.c (mail_view_create): Make the HTML widget grab the
diff --git a/mail/mail-ops.c b/mail/mail-ops.c
index d7bfb9af10..79fdf12ab6 100644
--- a/mail/mail-ops.c
+++ b/mail/mail-ops.c
@@ -890,6 +890,7 @@ cleanup_scan_subfolders (gpointer in_data, gpointer op_data,
info = data->new_folders->pdata[i];
evolution_storage_new_folder (input->storage,
info->path,
+ g_basename (info->path),
"mail",
info->uri, _("(No description)"));
g_free (info->path);
diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c
index b425fe7bec..40e3cd7f11 100644
--- a/mail/mail-vfolder.c
+++ b/mail/mail-vfolder.c
@@ -91,7 +91,9 @@ vfolder_refresh(void)
uri = g_strdup_printf("vfolder:%s", info->name);
path = g_strdup_printf("/%s", info->name);
evolution_storage_removed_folder(vfolder_storage, path);
- evolution_storage_new_folder (vfolder_storage, path,
+ evolution_storage_new_folder (vfolder_storage,
+ path,
+ g_basename (path),
"mail",
uri,
info->name);
@@ -107,7 +109,9 @@ vfolder_refresh(void)
/*uri = g_strdup_printf("vfolder:%s/vfolder/%s?%s", evolution_dir, info->name, info->query);*/
uri = g_strdup_printf("vfolder:%s", info->name);
path = g_strdup_printf("/%s", info->name);
- evolution_storage_new_folder (vfolder_storage, path,
+ evolution_storage_new_folder (vfolder_storage,
+ path,
+ g_basename (path),
"mail",
uri,
info->name);