[gimp] plug-ins: rename "write-color-space-info" arg into "write-color-space".
- From: Jehan <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: rename "write-color-space-info" arg into "write-color-space".
- Date: Sat, 12 Feb 2022 00:44:23 +0000 (UTC)
commit ce236b843e67b6140915628bc4ebf13913e55f2b
Author: Jehan <jehan girinstud io>
Date: Sat Feb 12 01:12:45 2022 +0100
plug-ins: rename "write-color-space-info" arg into "write-color-space".
Let's sync with the proposal in !571 after discussing with Jacob. The
shorter naming is fine and the '-info' suffix feels a bit redundant
anyway. Also since this arg never even existed in GIMP 2.10 (until !571
which is soon to be merged), there is really not even a historical
reason.
plug-ins/file-bmp/bmp-save.c | 8 ++++----
plug-ins/file-bmp/bmp.c | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/plug-ins/file-bmp/bmp-save.c b/plug-ins/file-bmp/bmp-save.c
index 9b98b4a310..a6a6d43748 100644
--- a/plug-ins/file-bmp/bmp-save.c
+++ b/plug-ins/file-bmp/bmp-save.c
@@ -324,9 +324,9 @@ save_image (GFile *file,
}
g_object_get (config,
- "use-rle", &use_rle,
- "write-color-space-info", &write_color_space,
- "rgb-format", &rgb_format,
+ "use-rle", &use_rle,
+ "write-color-space", &write_color_space,
+ "rgb-format", &rgb_format,
NULL);
gimp_progress_init_printf (_("Exporting '%s'"),
@@ -1010,7 +1010,7 @@ save_dialog (GimpProcedure *procedure,
gtk_box_pack_start (GTK_BOX (vbox), frame, FALSE, FALSE, 0);
gtk_widget_show (frame);
- toggle = gimp_prop_check_button_new (config, "write-color-space-info",
+ toggle = gimp_prop_check_button_new (config, "write-color-space",
_("_Write color space information"));
gimp_help_set_help_data (toggle,
_("Some applications can not read BMP images that "
diff --git a/plug-ins/file-bmp/bmp.c b/plug-ins/file-bmp/bmp.c
index 3774fd5a48..56687aba11 100644
--- a/plug-ins/file-bmp/bmp.c
+++ b/plug-ins/file-bmp/bmp.c
@@ -196,7 +196,7 @@ bmp_create_procedure (GimpPlugIn *plug_in,
FALSE,
G_PARAM_READWRITE);
- GIMP_PROC_ARG_BOOLEAN (procedure, "write-color-space-info",
+ GIMP_PROC_ARG_BOOLEAN (procedure, "write-color-space",
"Write color space information",
"Whether or not to write BITMAPV5HEADER "
"color space data",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]