Revert "plug-ins: Convert screenshot dropdowns to radios"

This reverts commit 7af987d31b.

This commit is not needed anymore since the automatically generated
widget will now be radio buttons for small lists of choices.
This commit is contained in:
Jehan 2025-05-05 15:18:22 +02:00
parent bcb736db61
commit 3799d66ecf

View file

@ -602,8 +602,6 @@ shoot_dialog (GimpProcedure *procedure,
FALSE, "delay-box");
}
gimp_procedure_dialog_get_widget (GIMP_PROCEDURE_DIALOG (dialog),
"shoot-type", GIMP_TYPE_INT_RADIO_FRAME);
gimp_procedure_dialog_fill (GIMP_PROCEDURE_DIALOG (dialog), "shoot-type", NULL);
if ((capabilities & SCREENSHOT_CAN_SHOOT_POINTER) ||
@ -613,8 +611,6 @@ shoot_dialog (GimpProcedure *procedure,
if (capabilities & SCREENSHOT_CAN_DELAY_WINDOW_SHOT)
gimp_procedure_dialog_fill (GIMP_PROCEDURE_DIALOG (dialog), "delay-frame", NULL);
gimp_procedure_dialog_get_widget (GIMP_PROCEDURE_DIALOG (dialog),
"color-profile", GIMP_TYPE_INT_RADIO_FRAME);
gimp_procedure_dialog_fill (GIMP_PROCEDURE_DIALOG (dialog), "color-profile", NULL);
run = gimp_procedure_dialog_run (GIMP_PROCEDURE_DIALOG (dialog));