aboutsummaryrefslogtreecommitdiffstats
path: root/camel
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-09-20 02:56:26 +0800
committerDan Winship <danw@src.gnome.org>2000-09-20 02:56:26 +0800
commit64b4dc6796efd18570bb8d35332928ee46addc92 (patch)
tree821ea848ea4c8375a3c2acec3c6160b20f7c3363 /camel
parent4e1d332270e5109485c405f4851c5adc90e3eedb (diff)
downloadgsoc2013-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')
-rw-r--r--camel/ChangeLog6
-rw-r--r--camel/providers/imap/camel-imap-folder.c7
2 files changed, 12 insertions, 1 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog
index e49b992228..b114f309e2 100644
--- a/camel/ChangeLog
+++ b/camel/ChangeLog
@@ -1,5 +1,11 @@
2000-09-19 Dan Winship <danw@helixcode.com>
+ * providers/imap/camel-imap-folder.c
+ (imap_get_subfolder_info_internal): Fix the case where INBOX
+ isn't returned in the folder listing.
+
+2000-09-19 Dan Winship <danw@helixcode.com>
+
* camel-folder.c: (init): Removed
(camel_folder_init, camel_folder_construct): New object init
function and public object constructor to replace the old init
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);