diff options
author | Felipe Barriga Richards <[email protected]> | 2017-04-01 23:12:25 -0300 |
---|---|---|
committer | raveit65 <[email protected]> | 2017-05-25 08:28:30 +0200 |
commit | b28445b3d2c42a7d2dbac97983d007e4ab58684d (patch) | |
tree | 3e654155d6deb53e40378e060eb972c9c957fec0 /libcaja-private/caja-search-directory-file.c | |
parent | 79fadd6ab9e93e46b5308bc6d3838ed93f225f98 (diff) | |
download | caja-b28445b3d2c42a7d2dbac97983d007e4ab58684d.tar.bz2 caja-b28445b3d2c42a7d2dbac97983d007e4ab58684d.tar.xz |
added feature: present the size on disk of files as we present the size of the file.
Diffstat (limited to 'libcaja-private/caja-search-directory-file.c')
-rw-r--r-- | libcaja-private/caja-search-directory-file.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libcaja-private/caja-search-directory-file.c b/libcaja-private/caja-search-directory-file.c index 1beeb265..ec6d5788 100644 --- a/libcaja-private/caja-search-directory-file.c +++ b/libcaja-private/caja-search-directory-file.c @@ -117,7 +117,8 @@ search_directory_file_get_deep_counts (CajaFile *file, guint *directory_count, guint *file_count, guint *unreadable_directory_count, - goffset *total_size) + goffset *total_size, + goffset *total_size_on_disk) { CajaFile *dir_file; GList *file_list, *l; @@ -158,6 +159,11 @@ search_directory_file_get_deep_counts (CajaFile *file, /* FIXME: Maybe we want to calculate this? */ *total_size = 0; } + if (total_size_on_disk != NULL) + { + /* FIXME: Maybe we want to calculate this? */ + *total_size_on_disk = 0; + } caja_file_list_free (file_list); |