diff options
author | Dan Winship <danw@src.gnome.org> | 2000-09-20 02:56:26 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2000-09-20 02:56:26 +0800 |
commit | 64b4dc6796efd18570bb8d35332928ee46addc92 (patch) | |
tree | 821ea848ea4c8375a3c2acec3c6160b20f7c3363 /camel/providers/imap | |
parent | 4e1d332270e5109485c405f4851c5adc90e3eedb (diff) | |
download | gsoc2013-evolution-64b4dc6796efd18570bb8d35332928ee46addc92.tar gsoc2013-evolution-64b4dc6796efd18570bb8d35332928ee46addc92.tar.gz gsoc2013-evolution-64b4dc6796efd18570bb8d35332928ee46addc92.tar.bz2 gsoc2013-evolution-64b4dc6796efd18570bb8d35332928ee46addc92.tar.lz gsoc2013-evolution-64b4dc6796efd18570bb8d35332928ee46addc92.tar.xz gsoc2013-evolution-64b4dc6796efd18570bb8d35332928ee46addc92.tar.zst gsoc2013-evolution-64b4dc6796efd18570bb8d35332928ee46addc92.zip |
Fix the case where INBOX isn't returned in the folder listing.
* providers/imap/camel-imap-folder.c
(imap_get_subfolder_info_internal): Fix the case where INBOX
isn't returned in the folder listing.
svn path=/trunk/; revision=5505
Diffstat (limited to 'camel/providers/imap')
-rw-r--r-- | camel/providers/imap/camel-imap-folder.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/camel/providers/imap/camel-imap-folder.c b/camel/providers/imap/camel-imap-folder.c index c6771cfd4c..66cc567278 100644 --- a/camel/providers/imap/camel-imap-folder.c +++ b/camel/providers/imap/camel-imap-folder.c @@ -671,7 +671,12 @@ imap_get_subfolder_info_internal (CamelFolder *folder, CamelException *ex) } if (!strcmp (folder->name, namespace) && !found_inbox) { - g_ptr_array_add (listing, g_strdup ("INBOX")); + fi = g_new0 (CamelFolderInfo, 1); + fi->full_name = g_strdup ("INBOX"); + fi->name = g_strdup ("INBOX"); + /* FIXME: read/unread msg count */ + + g_ptr_array_add (listing, fi); } g_free (result); |