https://bugzilla.xfce.org/show_bug.cgi?id=11690

Adam Purkrt <a...@purkrt.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |a...@purkrt.net

--- Comment #1 from Adam Purkrt <a...@purkrt.net> ---
Created attachment 6847
  --> https://bugzilla.xfce.org/attachment.cgi?id=6847&action=edit
thunar-size-label.patch

+1 to this enhancement.

The exact size would be useful also in directory properties dialog,
e.g. for quick check when synchronizing directories, when updating
a backup copy on a flashdisk. The human readable value is rounded
and not very useful in this regard.

Attached is a proposed patch (only) for the properties dialog. The patch is
"quick and dirty", just to show what I have on mind.


Looking at g_format_size_full function's GFormatSizeFlags

https://developer.gnome.org/glib/stable/glib-Miscellaneous-Utility-Functions.html#GFormatSizeFlags

the G_FORMAT_SIZE_LONG_FORMAT is basically what I would like to see in
the properties dialog - and, also, in the status line.

But

1) the "LONG_FORMAT" is only with decimal units, there is no long format with
IEC 
units (KiB MiB and the like, "file size in binary format")

2) Returning to the original request comment #1, there is no GFormatSizeFlags
to get e.g. "1,024,580" output.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
Xfce-bugs@xfce.org
https://mail.xfce.org/mailman/listinfo/xfce-bugs

Reply via email to