aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-folder.c
diff options
context:
space:
mode:
author9 <NotZed@Ximian.com>2001-10-29 16:24:00 +0800
committerMichael Zucci <zucchi@src.gnome.org>2001-10-29 16:24:00 +0800
commitc43aa966cbac71c6e5dbceb55bb172dcc3687bbf (patch)
tree12a9b86802e1a65afc9049e6d5d81e114b26182e /camel/camel-folder.c
parentfa9505a288ebeab16883eb940bd1418f176fc426 (diff)
downloadgsoc2013-evolution-c43aa966cbac71c6e5dbceb55bb172dcc3687bbf.tar
gsoc2013-evolution-c43aa966cbac71c6e5dbceb55bb172dcc3687bbf.tar.gz
gsoc2013-evolution-c43aa966cbac71c6e5dbceb55bb172dcc3687bbf.tar.bz2
gsoc2013-evolution-c43aa966cbac71c6e5dbceb55bb172dcc3687bbf.tar.lz
gsoc2013-evolution-c43aa966cbac71c6e5dbceb55bb172dcc3687bbf.tar.xz
gsoc2013-evolution-c43aa966cbac71c6e5dbceb55bb172dcc3687bbf.tar.zst
gsoc2013-evolution-c43aa966cbac71c6e5dbceb55bb172dcc3687bbf.zip
Turn off w() -> warnings.
2001-10-29 <NotZed@Ximian.com> * camel-mime-utils.c: Turn off w() -> warnings. * providers/imap/camel-imap-store.c (rename_folder): Also rename the message cache. (rename_folder): Fix subscribed folders table with rename(s). * providers/imap/camel-imap-folder.c (imap_rename): Implement, rename the cache dir pointer. * providers/imap/camel-imap-message-cache.c (camel_imap_message_cache_set_path): New method to set the path used by a message cache. svn path=/trunk/; revision=14327
Diffstat (limited to 'camel/camel-folder.c')
-rw-r--r--camel/camel-folder.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-folder.c b/camel/camel-folder.c
index 405107e2a8..fd1fc13736 100644
--- a/camel/camel-folder.c
+++ b/camel/camel-folder.c
@@ -1349,7 +1349,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, '/');
+ tmp = strrchr(new, folder->parent_store->dir_sep);
folder->name = g_strdup(tmp?tmp+1:new);
}