From 68ef9e00239ad3f20f78fb4822446dce62d58bab Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 11 Sep 2019 20:52:24 +0200 Subject: dlg-prop: show the exact number of bytes as part of the size --- src/dlg-prop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dlg-prop.c') diff --git a/src/dlg-prop.c b/src/dlg-prop.c index 18ceb1d..0c63dd4 100644 --- a/src/dlg-prop.c +++ b/src/dlg-prop.c @@ -157,7 +157,7 @@ dlg_prop (FrWindow *window) label = _gtk_builder_get_widget (data->builder, "p_size_label"); size = get_file_size (fr_window_get_archive_uri (window)); - s = g_format_size (size); + s = g_format_size_full (size, G_FORMAT_SIZE_LONG_FORMAT); gtk_label_set_text (GTK_LABEL (label), s); g_free (s); @@ -177,7 +177,7 @@ dlg_prop (FrWindow *window) } label = _gtk_builder_get_widget (data->builder, "p_uncomp_size_label"); - s = g_format_size (uncompressed_size); + s = g_format_size_full (uncompressed_size, G_FORMAT_SIZE_LONG_FORMAT); gtk_label_set_text (GTK_LABEL (label), s); g_free (s); -- cgit v1.2.1