mirror of https://github.com/GNOME/gimp.git
app: fix progress message for precision conversion
This commit is contained in:
parent
257814ce6d
commit
548e8bc4eb
|
@ -304,13 +304,18 @@ convert_precision_dialog_response (GtkWidget *widget,
|
|||
{
|
||||
GimpProgress *progress;
|
||||
GimpPrecision precision;
|
||||
|
||||
progress = gimp_progress_start (dialog->progress, FALSE,
|
||||
_("Converting to lower bit depth"));
|
||||
const gchar *enum_desc;
|
||||
|
||||
precision = gimp_babl_precision (dialog->component_type,
|
||||
dialog->linear);
|
||||
|
||||
gimp_enum_get_value (GIMP_TYPE_PRECISION, precision,
|
||||
NULL, NULL, &enum_desc, NULL);
|
||||
|
||||
progress = gimp_progress_start (dialog->progress, FALSE,
|
||||
_("Converting image to %s"),
|
||||
enum_desc);
|
||||
|
||||
gimp_image_convert_precision (dialog->image,
|
||||
precision,
|
||||
dialog->layer_dither_type,
|
||||
|
|
Loading…
Reference in New Issue