EMFolderTreeModel: Fix subscribing to a folder with children.
Unsubscribe from a folder with children, then re-subscribe. The children will no longer be reachable in an EMFolderTree. This is because we were calling em_folder_tree_model_set_folder_info() claiming we have complete folder subtree info, when in fact we don't.
This commit is contained in:
@ -1408,8 +1408,10 @@ folder_tree_model_folder_subscribed_cb (CamelStore *store,
|
||||
|
||||
gtk_tree_store_append (GTK_TREE_STORE (model), &iter, &parent);
|
||||
|
||||
/* The CamelFolderInfo does not contain child information,
|
||||
* so pass fully_loaded=FALSE to indicate it's incomplete. */
|
||||
em_folder_tree_model_set_folder_info (
|
||||
EM_FOLDER_TREE_MODEL (model), &iter, store, fi, TRUE);
|
||||
EM_FOLDER_TREE_MODEL (model), &iter, store, fi, FALSE);
|
||||
}
|
||||
|
||||
static void
|
||||
|
||||
Reference in New Issue
Block a user