diff options
author | 1 <NotZed@Ximian.com> | 2001-09-22 04:01:24 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-09-22 04:01:24 +0800 |
commit | cc292b9bb610d8ac52dc1226f196bfb2a44ad4a3 (patch) | |
tree | a67b2990b3a1f08e040653df699647c9ba2ad215 /camel | |
parent | 83f05741bd1cac4269a8c0d5c26f52b386f8294b (diff) | |
download | gsoc2013-evolution-cc292b9bb610d8ac52dc1226f196bfb2a44ad4a3.tar gsoc2013-evolution-cc292b9bb610d8ac52dc1226f196bfb2a44ad4a3.tar.gz gsoc2013-evolution-cc292b9bb610d8ac52dc1226f196bfb2a44ad4a3.tar.bz2 gsoc2013-evolution-cc292b9bb610d8ac52dc1226f196bfb2a44ad4a3.tar.lz gsoc2013-evolution-cc292b9bb610d8ac52dc1226f196bfb2a44ad4a3.tar.xz gsoc2013-evolution-cc292b9bb610d8ac52dc1226f196bfb2a44ad4a3.tar.zst gsoc2013-evolution-cc292b9bb610d8ac52dc1226f196bfb2a44ad4a3.zip |
Set the exception if create_folder isn't implemented.
2001-09-21 <NotZed@Ximian.com>
* camel-store.c (create_folder): Set the exception if
create_folder isn't implemented.
svn path=/trunk/; revision=13056
Diffstat (limited to 'camel')
-rw-r--r-- | camel/ChangeLog | 5 | ||||
-rw-r--r-- | camel/camel-store.c | 3 |
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; } |