aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
Diffstat (limited to 'camel')
-rw-r--r--camel/ChangeLog4
-rw-r--r--camel/providers/local/camel-spool-store.c4
2 files changed, 5 insertions, 3 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 123f440f7d..66d0f3ffbd 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,9 @@
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.
+
* camel-tcp-stream-ssl.c: #include pk11func.h.
(ssl_bad_cert): Use CERT_GetDefaultCertDB.
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 *