(gtk) #5284 'file tree should show the wanted size of the subtree, not the entire size': done.

This commit is contained in:
Jordan Lee 2013-02-09 19:28:38 +00:00
parent d03de26e13
commit 90b95697e0
1 changed files with 5 additions and 2 deletions

View File

@ -180,8 +180,11 @@ refreshFilesForeach (GtkTreeModel * model,
FC_ENABLED, &child_enabled,
-1);
sub_size += child_size;
have += child_have;
if ((child_enabled != FALSE) && (child_enabled != NOT_SET))
{
sub_size += child_size;
have += child_have;
}
if (enabled == NOT_SET)
enabled = child_enabled;