diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2004-05-08 04:36:18 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-05-08 04:36:18 +0800 |
commit | a02934f6a81406fa9509025e94199e9e78ea59a8 (patch) | |
tree | 936bd1e9a56db46f0358956f6166913b10799050 /mail/em-folder-tree-model.h | |
parent | 6b70641a976fd56ca4df9b49e620da0fd1b3e2df (diff) | |
download | gsoc2013-evolution-a02934f6a81406fa9509025e94199e9e78ea59a8.tar.gz gsoc2013-evolution-a02934f6a81406fa9509025e94199e9e78ea59a8.tar.zst gsoc2013-evolution-a02934f6a81406fa9509025e94199e9e78ea59a8.zip |
Fix for bug #57152.
2004-05-07 Jeffrey Stedfast <fejj@ximian.com>
Fix for bug #57152.
* em-folder-tree.c (emft_get_folder_info__got): If we queried for
a recursive folder-info listing, then pass fully_loaded as TRUE to
set_folder_info().
(emft_get_folder_info__got): If we find that a folder doesn't have
children, set the expanded state to FALSE.
* em-folder-tree-model.c (em_folder_tree_model_set_folder_info):
Now takes a "fully_loaded" argument to hint to set_folder_info
whether or not folder-info's without child nodes can possibly have
children (eg. if fully_loaded is set and fi->child is NULL, then
'load' will be FALSE no matter what fi->flags contains).
svn path=/trunk/; revision=25826
Diffstat (limited to 'mail/em-folder-tree-model.h')
-rw-r--r-- | mail/em-folder-tree-model.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-folder-tree-model.h b/mail/em-folder-tree-model.h index 7685399197..c6beb52ee1 100644 --- a/mail/em-folder-tree-model.h +++ b/mail/em-folder-tree-model.h @@ -121,7 +121,7 @@ EMFolderTreeModel *em_folder_tree_model_new (const char *evolution_dir); void em_folder_tree_model_set_folder_info (EMFolderTreeModel *model, GtkTreeIter *iter, struct _EMFolderTreeModelStoreInfo *si, - CamelFolderInfo *fi); + CamelFolderInfo *fi, int fully_loaded); void em_folder_tree_model_add_store (EMFolderTreeModel *model, CamelStore *store, const char *display_name); void em_folder_tree_model_remove_store (EMFolderTreeModel *model, CamelStore *store); |