diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2003-12-11 03:24:30 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2003-12-11 03:24:30 +0800 |
commit | efc4798ec9777af1d5ebd49434bae27093b2e158 (patch) | |
tree | 55b820d30482ac842a1b15c5a1084240499675a1 /mail/em-folder-tree-model.c | |
parent | ac71e9d8f34c61804a3e37c57b5c9dfc56e62029 (diff) | |
download | gsoc2013-evolution-efc4798ec9777af1d5ebd49434bae27093b2e158.tar.gz gsoc2013-evolution-efc4798ec9777af1d5ebd49434bae27093b2e158.tar.zst gsoc2013-evolution-efc4798ec9777af1d5ebd49434bae27093b2e158.zip |
Add INFO_FAST here as we don't need it to get unread counts.
2003-12-10 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-tree.c (em_folder_tree_set_selected): Add INFO_FAST
here as we don't need it to get unread counts.
(tree_row_expanded): Here too.
* em-folder-tree-model.c (em_folder_tree_model_set_folder_info):
Check CAMEL_FOLDER_NOCHILDREN.
svn path=/trunk/; revision=23912
Diffstat (limited to 'mail/em-folder-tree-model.c')
-rw-r--r-- | mail/em-folder-tree-model.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c index e7a766cc61..fdbf7ab93b 100644 --- a/mail/em-folder-tree-model.c +++ b/mail/em-folder-tree-model.c @@ -734,8 +734,7 @@ em_folder_tree_model_set_folder_info (EMFolderTreeModel *model, GtkTreeIter *ite GtkTreeIter sub; gboolean load; - /* Note CAMEL_FOLDER_CHILDREN is only advisory, so we don't check it */ - load = fi->child == NULL && !(fi->flags & CAMEL_FOLDER_NOINFERIORS); + load = fi->child == NULL && !(fi->flags & (CAMEL_FOLDER_NOCHILDREN | CAMEL_FOLDER_NOINFERIORS)); path = gtk_tree_model_get_path ((GtkTreeModel *) model, iter); uri_row = gtk_tree_row_reference_new ((GtkTreeModel *) model, path); |