diff options
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r-- | mail/mail-config.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c index ac5d078ebf..56d010570a 100644 --- a/mail/mail-config.c +++ b/mail/mail-config.c @@ -38,6 +38,7 @@ #include <gconf/gconf-client.h> #include "e-mail-local.h" +#include "e-mail-folder-utils.h" #include "mail-config.h" #include "mail-folder-cache.h" #include "mail-tools.h" @@ -338,7 +339,7 @@ mail_config_folder_to_cachename (CamelFolder *folder, const gchar *prefix) const gchar *config_dir; config_dir = mail_session_get_config_dir (); - url = g_strdup (camel_folder_get_uri (folder)); + url = e_mail_folder_uri_from_folder (folder); e_filename_make_safe (url); basename = g_strdup_printf ("%s%s", prefix, url); filename = g_build_filename (config_dir, "folders", basename, NULL); |