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.
This commit is contained in:
Jehan 2022-02-12 01:12:45 +01:00
parent 3e1c914358
commit ce236b843e
2 changed files with 5 additions and 5 deletions

View File

@ -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 "

View File

@ -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",