Skip to content
Snippets Groups Projects
Commit 3f4fa956 authored by Daniel Pielmeier's avatar Daniel Pielmeier Committed by Alexander Schwinn
Browse files

Fix property dialog file count (#1173)

The selected folder(s) itself now as well will be counted, so they match the number of 'items'.

MR !378
Fixes #1173

(cherry picked from commit b32bdcf6)
parent 9fc1c06d
No related branches found
No related tags found
No related merge requests found
......@@ -444,7 +444,6 @@ thunar_size_label_status_update (ThunarDeepCountJob *job,
}
else /* if (size_label->type == THUNAR_SIZE_LABEL_CONTENT) */
{
directory_count = directory_count > 0 ? directory_count - 1 : 0;
folder_size_string = g_strdup_printf (ngettext ("%d folder", "%d folders", directory_count ), directory_count);
file_size_string = g_strdup_printf (ngettext ("%d file", "%d files", file_count), file_count);
text = g_strdup_printf (ngettext ("%u item (%s, %s)", "%u items (%s, %s)", n), n, file_size_string, folder_size_string);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment