summaryrefslogtreecommitdiff
path: root/libcaja-private/caja-desktop-icon-file.c
diff options
context:
space:
mode:
authorFelipe Barriga Richards <[email protected]>2017-04-01 23:12:25 -0300
committerraveit65 <[email protected]>2017-05-25 08:28:30 +0200
commitb28445b3d2c42a7d2dbac97983d007e4ab58684d (patch)
tree3e654155d6deb53e40378e060eb972c9c957fec0 /libcaja-private/caja-desktop-icon-file.c
parent79fadd6ab9e93e46b5308bc6d3838ed93f225f98 (diff)
downloadcaja-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-desktop-icon-file.c')
-rw-r--r--libcaja-private/caja-desktop-icon-file.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/libcaja-private/caja-desktop-icon-file.c b/libcaja-private/caja-desktop-icon-file.c
index bacbe02f..ede7f2e1 100644
--- a/libcaja-private/caja-desktop-icon-file.c
+++ b/libcaja-private/caja-desktop-icon-file.c
@@ -117,7 +117,8 @@ desktop_icon_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)
{
if (directory_count != NULL)
{
@@ -135,6 +136,10 @@ desktop_icon_file_get_deep_counts (CajaFile *file,
{
*total_size = 0;
}
+ if (total_size_on_disk != NULL)
+ {
+ *total_size_on_disk = 0;
+ }
return CAJA_REQUEST_DONE;
}