diff options
author | Not Zed <NotZed@Ximian.com> | 2003-12-09 11:23:22 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2003-12-09 11:23:22 +0800 |
commit | 0e9852f8c4a73844ba327c72fedaa41ab60f2711 (patch) | |
tree | bad8a5b69110f7d3e54d85e95aadf32f984e774f /mail/em-folder-tree-model.c | |
parent | e09ebe7a80a11a33d5c393fddcb39e3ee95f7f9e (diff) | |
download | gsoc2013-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
Diffstat (limited to 'mail/em-folder-tree-model.c')
-rw-r--r-- | mail/em-folder-tree-model.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |