Use g_format_size() instead of g_format_size_for_display()
We do this like in commit 4ead7b69ea, so that apps which use the gtk2 file chooser
will show the same file sizes as gtk3 apps.
This commit is contained in:
@@ -6705,7 +6705,7 @@ file_system_model_set (GtkFileSystemModel *model,
|
||||
if (info == NULL || _gtk_file_info_consider_as_directory (info))
|
||||
g_value_set_string (value, NULL);
|
||||
else
|
||||
g_value_take_string (value, g_format_size_for_display (g_file_info_get_size (info)));
|
||||
g_value_take_string (value, g_format_size (g_file_info_get_size (info)));
|
||||
break;
|
||||
case MODEL_COL_MTIME:
|
||||
case MODEL_COL_MTIME_TEXT:
|
||||
|
||||
Reference in New Issue
Block a user