plug-ins: rename all "save-profile" args to "save-color-profile"

This commit is contained in:
Michael Natterer 2019-09-25 12:50:29 +02:00
parent 58bf1d431d
commit 1099aea726
2 changed files with 23 additions and 23 deletions

View File

@ -196,8 +196,8 @@ heif_create_procedure (GimpPlugIn *plug_in,
FALSE,
G_PARAM_READWRITE);
GIMP_PROC_AUX_ARG_BOOLEAN (procedure, "save-profile",
"Save profile",
GIMP_PROC_AUX_ARG_BOOLEAN (procedure, "save-color-profile",
"Save color profile",
"Save the image's color profile",
gimp_export_color_profile (),
G_PARAM_READWRITE);
@ -716,9 +716,9 @@ save_image (GFile *file,
gboolean save_profile;
g_object_get (config,
"lossless", &lossless,
"quality", &quality,
"save-profile", &save_profile,
"lossless", &lossless,
"quality", &quality,
"save-color-profile", &save_profile,
NULL);
gimp_progress_init_printf (_("Exporting '%s'"),
@ -1283,7 +1283,7 @@ save_dialog (GimpProcedure *procedure,
FALSE, 0, 0);
#ifdef HAVE_LIBHEIF_1_4_0
button = gimp_prop_check_button_new (config, "save-profile",
button = gimp_prop_check_button_new (config, "save-color-profile",
_("Save color _profile"));
gtk_box_pack_start (GTK_BOX (main_vbox), button, FALSE, FALSE, 0);
gtk_widget_show (button);

View File

@ -324,7 +324,7 @@ png_create_procedure (GimpPlugIn *plug_in,
TRUE,
G_PARAM_READWRITE);
GIMP_PROC_AUX_ARG_BOOLEAN (procedure, "save-profile",
GIMP_PROC_AUX_ARG_BOOLEAN (procedure, "save-color-profile",
"Save profile",
"Save color profile",
gimp_export_color_profile (),
@ -1336,21 +1336,21 @@ save_image (GFile *file,
gboolean save_profile;
g_object_get (config,
"interlaced", &save_interlaced,
"bkgd", &save_bkgd,
"gama", &save_gama,
"offs", &save_offs,
"phys", &save_phys,
"time", &save_time,
"comment", &save_comment,
"save-transparent", &save_transp_pixels,
"compression", &compression_level,
"format", &export_format,
"save-exif", &save_exif,
"save-xmp", &save_xmp,
"save-iptc", &save_iptc,
"save-thumbnail", &save_thumbnail,
"save-profile", &save_profile,
"interlaced", &save_interlaced,
"bkgd", &save_bkgd,
"gama", &save_gama,
"offs", &save_offs,
"phys", &save_phys,
"time", &save_time,
"comment", &save_comment,
"save-transparent", &save_transp_pixels,
"compression", &compression_level,
"format", &export_format,
"save-exif", &save_exif,
"save-xmp", &save_xmp,
"save-iptc", &save_iptc,
"save-thumbnail", &save_thumbnail,
"save-color-profile", &save_profile,
NULL);
out_linear = FALSE;
@ -2358,7 +2358,7 @@ save_dialog (GimpImage *image,
gtk_grid_attach (GTK_GRID (grid), button, col, row++, 1, 1);
gtk_widget_show (button);
button = gimp_prop_check_button_new (config, "save-profile",
button = gimp_prop_check_button_new (config, "save-color-profile",
_("Save color profile"));
gtk_grid_attach (GTK_GRID (grid), button, col, row++, 1, 1);
gtk_widget_show (button);