summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrbuj <[email protected]>2019-09-11 20:52:24 +0200
committerZenWalker <[email protected]>2019-09-17 10:48:11 +0200
commit68ef9e00239ad3f20f78fb4822446dce62d58bab (patch)
tree0a2d3e761c445dc27643560b3f06bacf388916e3
parentbab1d6952bb08a70cb8675d83246c2d3b7f61cda (diff)
downloadengrampa-68ef9e00239ad3f20f78fb4822446dce62d58bab.tar.bz2
engrampa-68ef9e00239ad3f20f78fb4822446dce62d58bab.tar.xz
dlg-prop: show the exact number of bytes as part of the size
-rw-r--r--src/dlg-prop.c4
1 files changed, 2 insertions, 2 deletions
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);