aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--camel/ChangeLog5
-rw-r--r--camel/camel-store.c3
2 files changed, 8 insertions, 0 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index 550e99f6d5..67013942ae 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,3 +1,8 @@
+2001-09-21 <NotZed@Ximian.com>
+
+ * camel-store.c (create_folder): Set the exception if
+ create_folder isn't implemented.
+
2001-09-21 Jeffrey Stedfast <fejj@ximian.com>
* providers/imap/camel-imap-store.c (create_folder): Go back to
diff --git a/camel/camel-store.c b/camel/camel-store.c
index 62b1c48902..4c70ae9981 100644
--- a/camel/camel-store.c
+++ b/camel/camel-store.c
@@ -268,6 +268,9 @@ create_folder (CamelStore *store, const char *parent_name,
{
g_warning ("CamelStore::create_folder not implemented for `%s'",
camel_type_to_name (CAMEL_OBJECT_GET_TYPE (store)));
+
+ camel_exception_setv(ex, CAMEL_EXCEPTION_STORE_INVALID,
+ _("Cannot create folder: Invalid operation on this store"));
return NULL;
}