aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNot Zed <NotZed@Ximian.com>2003-12-09 11:23:22 +0800
committerMichael Zucci <zucchi@src.gnome.org>2003-12-09 11:23:22 +0800
commit0e9852f8c4a73844ba327c72fedaa41ab60f2711 (patch)
treebad8a5b69110f7d3e54d85e95aadf32f984e774f
parente09ebe7a80a11a33d5c393fddcb39e3ee95f7f9e (diff)
downloadgsoc2013-evolution-0e9852f8c4a73844ba327c72fedaa41ab60f2711.tar.gz
gsoc2013-evolution-0e9852f8c4a73844ba327c72fedaa41ab60f2711.tar.zst
gsoc2013-evolution-0e9852f8c4a73844ba327c72fedaa41ab60f2711.zip
** See bug #51899.
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. svn path=/trunk/; revision=23890
-rw-r--r--mail/ChangeLog8
-rw-r--r--mail/em-folder-tree-model.c3
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);