mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 09:23:24 +00:00
plug-ins: Convert screenshot dropdowns to radios
This restores the GUI design from 2.10, which requires less clicks to update settings. It also aligns with proposed design guidelines to use radio buttons for parameters with only a few options.
This commit is contained in:
parent
afc1fa5250
commit
7af987d31b
1 changed files with 4 additions and 0 deletions
|
@ -602,6 +602,8 @@ 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) ||
|
||||
|
@ -611,6 +613,8 @@ 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));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue