From cc292b9bb610d8ac52dc1226f196bfb2a44ad4a3 Mon Sep 17 00:00:00 2001 From: 1 Date: Fri, 21 Sep 2001 20:01:24 +0000 Subject: Set the exception if create_folder isn't implemented. 2001-09-21 * camel-store.c (create_folder): Set the exception if create_folder isn't implemented. svn path=/trunk/; revision=13056 --- camel/ChangeLog | 5 +++++ camel/camel-store.c | 3 +++ 2 files changed, 8 insertions(+) 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 + + * camel-store.c (create_folder): Set the exception if + create_folder isn't implemented. + 2001-09-21 Jeffrey Stedfast * 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; } -- cgit v1.2.3