aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-tools.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-08-21 05:49:09 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-08-21 05:49:09 +0800
commita1a0a6bc4c8b444afe9ba4ee3feaec28192252ae (patch)
tree4a81395fc00f583a469cf04bd4983a56fa7d507a /mail/mail-tools.c
parentecda947f67aa5a7f2068fa73cea779c81df6806d (diff)
downloadgsoc2013-evolution-a1a0a6bc4c8b444afe9ba4ee3feaec28192252ae.tar.gz
gsoc2013-evolution-a1a0a6bc4c8b444afe9ba4ee3feaec28192252ae.tar.zst
gsoc2013-evolution-a1a0a6bc4c8b444afe9ba4ee3feaec28192252ae.zip
Modify the url and set the protocol to mbox rather than hacking it and
2001-08-20 Jeffrey Stedfast <fejj@ximian.com> * component-factory.c (create_folder): Modify the url and set the protocol to mbox rather than hacking it and prepending mbox: to the uri. * mail-local.c (get_folder): Don't prepend the folder_name with the store's path because the hash key is folder_name, not /folder_name. svn path=/trunk/; revision=12325
Diffstat (limited to 'mail/mail-tools.c')
-rw-r--r--mail/mail-tools.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mail/mail-tools.c b/mail/mail-tools.c
index f8020bd076..36ce800e14 100644
--- a/mail/mail-tools.c
+++ b/mail/mail-tools.c
@@ -54,14 +54,14 @@ mail_tool_get_folder_from_urlname (const gchar *url, const gchar *name,
{
CamelStore *store;
CamelFolder *folder;
-
+
store = camel_session_get_store (session, url, ex);
if (!store)
return NULL;
-
+
folder = camel_store_get_folder (store, name, flags, ex);
camel_object_unref (CAMEL_OBJECT (store));
-
+
return folder;
}