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-file-operations.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-file-operations.c')
-rw-r--r-- | libcaja-private/caja-file-operations.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libcaja-private/caja-file-operations.c b/libcaja-private/caja-file-operations.c index ad525d2d..0e6a7f64 100644 --- a/libcaja-private/caja-file-operations.c +++ b/libcaja-private/caja-file-operations.c @@ -2585,7 +2585,8 @@ scan_dir (GFile *dir, enumerator = g_file_enumerate_children (dir, G_FILE_ATTRIBUTE_STANDARD_NAME"," G_FILE_ATTRIBUTE_STANDARD_TYPE"," - G_FILE_ATTRIBUTE_STANDARD_SIZE, + G_FILE_ATTRIBUTE_STANDARD_SIZE"," + G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE, G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS, job->cancellable, &error); @@ -2707,7 +2708,8 @@ scan_file (GFile *file, error = NULL; info = g_file_query_info (file, G_FILE_ATTRIBUTE_STANDARD_TYPE"," - G_FILE_ATTRIBUTE_STANDARD_SIZE, + G_FILE_ATTRIBUTE_STANDARD_SIZE"," + G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE, G_FILE_QUERY_INFO_NOFOLLOW_SYMLINKS, job->cancellable, &error); |