From 90b95697e099bef692dfa287bcb3830c5dbc22a3 Mon Sep 17 00:00:00 2001 From: Jordan Lee Date: Sat, 9 Feb 2013 19:28:38 +0000 Subject: [PATCH] (gtk) #5284 'file tree should show the wanted size of the subtree, not the entire size': done. --- gtk/file-list.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/gtk/file-list.c b/gtk/file-list.c index 471f8b8f8..a3432e052 100644 --- a/gtk/file-list.c +++ b/gtk/file-list.c @@ -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; -- 2.40.0