aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-local.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-01-26 08:03:53 +0800
committerIain Holmes <iain@src.gnome.org>2001-01-26 08:03:53 +0800
commit75bb2f48a52ea7891195e89091df68c46a7db514 (patch)
tree5daa6818bc5f278c4e4a6c5c9ad25c08b05ae1ff /mail/mail-local.c
parent5ccced69c1e12d19fb65071f0d8c707669802371 (diff)
downloadgsoc2013-evolution-75bb2f48a52ea7891195e89091df68c46a7db514.tar.gz
gsoc2013-evolution-75bb2f48a52ea7891195e89091df68c46a7db514.tar.zst
gsoc2013-evolution-75bb2f48a52ea7891195e89091df68c46a7db514.zip
Neater importer stuff.
svn path=/trunk/; revision=7828
Diffstat (limited to 'mail/mail-local.c')
-rw-r--r--mail/mail-local.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/mail/mail-local.c b/mail/mail-local.c
index aa956edcb8..22df0333d1 100644
--- a/mail/mail-local.c
+++ b/mail/mail-local.c
@@ -942,6 +942,19 @@ non_equal (gconstpointer a, gconstpointer b)
return TRUE;
}
+CamelFolder *
+mail_local_lookup_folder (const char *name,
+ CamelException *ev)
+{
+ MailLocalStore *local_store;
+
+ local_store = (MailLocalStore *)camel_session_get_service (session,
+ "file:/",
+ CAMEL_PROVIDER_STORE, NULL);
+
+ return get_folder (local_store, name, 0, ev);
+}
+
void
mail_local_storage_startup (EvolutionShellClient *shellclient,
const char *evolution_path)