summaryrefslogtreecommitdiff
path: root/src/file-manager/fm-icon-view.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 /src/file-manager/fm-icon-view.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 'src/file-manager/fm-icon-view.c')
-rw-r--r--src/file-manager/fm-icon-view.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/file-manager/fm-icon-view.c b/src/file-manager/fm-icon-view.c
index 5e206b24..dab35561 100644
--- a/src/file-manager/fm-icon-view.c
+++ b/src/file-manager/fm-icon-view.c
@@ -136,6 +136,13 @@ static const SortCriterion sort_criteria[] =
N_("Keep icons sorted by size in rows")
},
{
+ CAJA_FILE_SORT_BY_SIZE_ON_DISK,
+ "size_on_disk",
+ "Sort by Size on Disk",
+ N_("by Size on Disk"),
+ N_("Keep icons sorted by disk usage in rows")
+ },
+ {
CAJA_FILE_SORT_BY_TYPE,
"type",
"Sort by Type",