aboutsummaryrefslogtreecommitdiffstats
path: root/camel/providers
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-08-31 07:03:12 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-08-31 07:03:12 +0800
commitd1587991064d100b1dccfdd34b293c67b603d0d0 (patch)
tree49265f0ef1e4ab90d7ca87f65322d28530dc11d6 /camel/providers
parent661df78817038db39e8f9a917951a2df1eb25b5b (diff)
downloadgsoc2013-evolution-d1587991064d100b1dccfdd34b293c67b603d0d0.tar.gz
gsoc2013-evolution-d1587991064d100b1dccfdd34b293c67b603d0d0.tar.zst
gsoc2013-evolution-d1587991064d100b1dccfdd34b293c67b603d0d0.zip
Return the default folder (ie. INBOX) rather than saying we don't support
2001-08-30 Jeffrey Stedfast <fejj@ximian.com> * providers/local/camel-spool-store.c (get_inbox): Return the default folder (ie. INBOX) rather than saying we don't support an inbox. svn path=/trunk/; revision=12535
Diffstat (limited to 'camel/providers')
-rw-r--r--camel/providers/local/camel-spool-store.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/camel/providers/local/camel-spool-store.c b/camel/providers/local/camel-spool-store.c
index 7389d1d045..aa9d583d17 100644
--- a/camel/providers/local/camel-spool-store.c
+++ b/camel/providers/local/camel-spool-store.c
@@ -172,9 +172,7 @@ get_folder(CamelStore * store, const char *folder_name, guint32 flags, CamelExce
static CamelFolder *
get_inbox(CamelStore *store, CamelException *ex)
{
- camel_exception_set(ex, CAMEL_EXCEPTION_STORE_NO_FOLDER,
- _("Spool stores do not have an inbox"));
- return NULL;
+ return get_folder (store, "INBOX", CAMEL_STORE_FOLDER_CREATE, ex);
}
static char *