aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/providers/imap/camel-imap-folder.c5
2 files changed, 9 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 6a0b9c8cd4..16231a16b4 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2002-08-09 Peter Williams <peterw@ximian.com>
+
+ * providers/imap/camel-imap-folder.c (imap_rename): When renaming our
+ cache, add the "/folders" to the path.
+
2002-08-08 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-folder.c (camel_imap_folder_init): Set
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c
index 7976c7d19e..5f1cab5293 100644
--- a/camel/providers/imap/camel-imap-folder.c
+++ b/camel/providers/imap/camel-imap-folder.c
@@ -441,8 +441,11 @@ imap_rename (CamelFolder *folder, const char *new)
CamelImapFolder *imap_folder = (CamelImapFolder *)folder;
CamelImapStore *imap_store = (CamelImapStore *)folder->parent_store;
char *folder_dir, *summary_path;
+ char *folders;
- folder_dir = e_path_to_physical (imap_store->storage_path, new);
+ folders = g_strconcat (imap_store->storage_path, "/folders", NULL);
+ folder_dir = e_path_to_physical (folders, new);
+ g_free (folders);
summary_path = g_strdup_printf("%s/summary", folder_dir);
CAMEL_IMAP_FOLDER_LOCK (folder, cache_lock);