diff options
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/camel-folder.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index 3fd5091eb0..388c9c4130 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -1,5 +1,10 @@ 2004-03-15 Jeffrey Stedfast <fejj@ximian.com> + * camel-folder.c (folder_rename): Always use '/' to derive the + basename of the folder. folder->full_name is always the UNIX-path + evrsion of the folder name, no matter what the actual path + delimeter is on the underlying store. + * providers/imap/camel-imap-store.c (get_folder_online): If the initial SELECT fails and CREATE is specified, clear the exception before attempting to CREATE, this way we don't have an exception diff --git a/camel/camel-folder.c b/camel/camel-folder.c index 5e971667c4..620881b1fc 100644 --- a/camel/camel-folder.c +++ b/camel/camel-folder.c @@ -1442,7 +1442,7 @@ folder_rename (CamelFolder *folder, const char *new) g_free(folder->full_name); folder->full_name = g_strdup(new); g_free(folder->name); - tmp = strrchr(new, folder->parent_store->dir_sep); + tmp = strrchr(new, '/'); folder->name = g_strdup(tmp?tmp+1:new); } |