propgui: Reorder HLS to HSL in Hue Saturation GUI

Both the description, other GEGL filters, and other programs
list Hue-Saturation filter settings in Hue/Saturation/Lightness
order, rather than Hue/Lightness/Saturation order.
This patch makes the ordering consistent.
This commit is contained in:
Alx Sa 2025-12-20 15:44:15 +00:00
parent 5d21c78906
commit efbdfb64c1

View file

@ -244,18 +244,18 @@ _gimp_prop_gui_new_hue_saturation (GObject *config,
gimp_spin_scale_set_label (GIMP_SPIN_SCALE (scale), _("_Hue"));
gtk_box_pack_start (GTK_BOX (vbox), scale, FALSE, FALSE, 0);
/* Create the lightness scale widget */
scale = gimp_prop_spin_scale_new (config, "lightness", 0.01, 0.1, 0);
gimp_prop_widget_set_factor (scale, 100.0, 1.0, 10.0, 1);
gimp_spin_scale_set_label (GIMP_SPIN_SCALE (scale), _("_Lightness"));
gtk_box_pack_start (GTK_BOX (vbox), scale, FALSE, FALSE, 0);
/* Create the saturation scale widget */
scale = gimp_prop_spin_scale_new (config, "saturation", 0.01, 0.1, 0);
gimp_prop_widget_set_factor (scale, 100.0, 1.0, 10.0, 1);
gimp_spin_scale_set_label (GIMP_SPIN_SCALE (scale), _("_Saturation"));
gtk_box_pack_start (GTK_BOX (vbox), scale, FALSE, FALSE, 0);
/* Create the lightness scale widget */
scale = gimp_prop_spin_scale_new (config, "lightness", 0.01, 0.1, 0);
gimp_prop_widget_set_factor (scale, 100.0, 1.0, 10.0, 1);
gimp_spin_scale_set_label (GIMP_SPIN_SCALE (scale), _("_Lightness"));
gtk_box_pack_start (GTK_BOX (vbox), scale, FALSE, FALSE, 0);
hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
gtk_box_pack_start (GTK_BOX (vbox), hbox, FALSE, FALSE, 0);
gtk_widget_show (hbox);