diff options
-rw-r--r-- | mail/ChangeLog | 8 | ||||
-rw-r--r-- | mail/em-folder-tree-model.c | 3 |
2 files changed, 10 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index a5672b100f..79b5f10b3d 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,11 @@ +2003-12-09 Not Zed <NotZed@Ximian.com> + + ** See bug #51899. + + * em-folder-tree-model.c (em_folder_tree_model_set_folder_info): + CAMEL_FOLDER_CHILDREN is only advisory, some servers don't give it + to you. + 2003-12-06 JP Rosevear <jpr@ximian.com> * Makefile.am: Remove hard coded disable deprecated flags diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c index ada449660e..1e6df96fbf 100644 --- a/mail/em-folder-tree-model.c +++ b/mail/em-folder-tree-model.c @@ -734,7 +734,8 @@ em_folder_tree_model_set_folder_info (EMFolderTreeModel *model, GtkTreeIter *ite GtkTreeIter sub; gboolean load; - load = !fi->child && (fi->flags & CAMEL_FOLDER_CHILDREN) && !(fi->flags & CAMEL_FOLDER_NOINFERIORS); + /* Note CAMEL_FOLDER_CHILDREN is only advisory, so we don't check it */ + load = fi->child == NULL && !(fi->flags & CAMEL_FOLDER_NOINFERIORS); path = gtk_tree_model_get_path ((GtkTreeModel *) model, iter); uri_row = gtk_tree_row_reference_new ((GtkTreeModel *) model, path); |