diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-07-07 04:55:16 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-07-07 04:55:16 +0800 |
commit | e6d686b05535b925f21f6e16d0f027038c158923 (patch) | |
tree | aa7f7ca2aa3b7c970d35cee8aa03ae1044a3336d /camel/providers/local | |
parent | a683bdd9d2a43f2b70f174c36847b0763f6cbf67 (diff) | |
download | gsoc2013-evolution-e6d686b05535b925f21f6e16d0f027038c158923.tar.gz gsoc2013-evolution-e6d686b05535b925f21f6e16d0f027038c158923.tar.zst gsoc2013-evolution-e6d686b05535b925f21f6e16d0f027038c158923.zip |
Fixes bug #1138.
2001-07-06 Jeffrey Stedfast <fejj@ximian.com>
* providers/local/camel-maildir-store.c (get_inbox): Fixes bug
#1138.
svn path=/trunk/; revision=10860
Diffstat (limited to 'camel/providers/local')
-rw-r--r-- | camel/providers/local/camel-maildir-store.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/camel/providers/local/camel-maildir-store.c b/camel/providers/local/camel-maildir-store.c index 4cc8be1ba0..290f91a90b 100644 --- a/camel/providers/local/camel-maildir-store.c +++ b/camel/providers/local/camel-maildir-store.c @@ -44,6 +44,7 @@ static CamelLocalStoreClass *parent_class = NULL; #define CMAILDIRF_CLASS(so) CAMEL_MAILDIR_FOLDER_CLASS (CAMEL_OBJECT_GET_CLASS(so)) static CamelFolder *get_folder(CamelStore * store, const char *folder_name, guint32 flags, CamelException * ex); +static CamelFolder *get_inbox (CamelStore *store, CamelException *ex); static void delete_folder(CamelStore * store, const char *folder_name, CamelException * ex); static CamelFolderInfo * get_folder_info (CamelStore *store, const char *top, guint32 flags, CamelException *ex); @@ -57,6 +58,7 @@ static void camel_maildir_store_class_init(CamelObjectClass * camel_maildir_stor /* virtual method overload, use defaults for most */ camel_store_class->get_folder = get_folder; + camel_store_class->get_inbox = get_inbox; camel_store_class->delete_folder = delete_folder; camel_store_class->get_folder_info = get_folder_info; @@ -137,6 +139,13 @@ static CamelFolder *get_folder(CamelStore * store, const char *folder_name, guin return folder; } +/* fixes bug #1138 */ +static CamelFolder * +get_inbox (CamelStore *store, CamelException *ex) +{ + return get_folder (store, "", 0, ex); +} + static void delete_folder(CamelStore * store, const char *folder_name, CamelException * ex) { char *name, *tmp, *cur, *new; |