[gimp] plug-ins: rename all "save-profile" args to "save-color-profile"
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: rename all "save-profile" args to "save-color-profile"
- Date: Wed, 25 Sep 2019 10:51:35 +0000 (UTC)
commit 1099aea7269801fe7cbbbbaf33cba0625bf94b94
Author: Michael Natterer <mitch gimp org>
Date: Wed Sep 25 12:50:29 2019 +0200
plug-ins: rename all "save-profile" args to "save-color-profile"
plug-ins/common/file-heif.c | 12 ++++++------
plug-ins/common/file-png.c | 34 +++++++++++++++++-----------------
2 files changed, 23 insertions(+), 23 deletions(-)
---
diff --git a/plug-ins/common/file-heif.c b/plug-ins/common/file-heif.c
index cbda8200e7..28c3e66268 100644
--- a/plug-ins/common/file-heif.c
+++ b/plug-ins/common/file-heif.c
@@ -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);
diff --git a/plug-ins/common/file-png.c b/plug-ins/common/file-png.c
index 56356633de..a0e5e942c4 100644
--- a/plug-ins/common/file-png.c
+++ b/plug-ins/common/file-png.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]