aboutsummaryrefslogtreecommitdiffstats
path: root/camel
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
parent661df78817038db39e8f9a917951a2df1eb25b5b (diff)
downloadgsoc2013-evolution-d1587991064d100b1dccfdd34b293c67b603d0d0.tar
gsoc2013-evolution-d1587991064d100b1dccfdd34b293c67b603d0d0.tar.gz
gsoc2013-evolution-d1587991064d100b1dccfdd34b293c67b603d0d0.tar.bz2
gsoc2013-evolution-d1587991064d100b1dccfdd34b293c67b603d0d0.tar.lz
gsoc2013-evolution-d1587991064d100b1dccfdd34b293c67b603d0d0.tar.xz
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')
-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 *