app/tools/gimpcroptool.c alternative button order for the info dialogs

2005-02-10  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimpcroptool.c
	* app/tools/gimptransformtool.c: alternative button order for
	the info dialogs (bug #166678).
This commit is contained in:
Michael Natterer 2005-02-10 19:19:24 +00:00 committed by Michael Natterer
parent 13ce17be63
commit 415a200536
3 changed files with 16 additions and 0 deletions

View file

@ -1,3 +1,9 @@
2005-02-10 Michael Natterer <mitch@gimp.org>
* app/tools/gimpcroptool.c
* app/tools/gimptransformtool.c: alternative button order for
the info dialogs (bug #166678).
2005-02-10 Sven Neumann <sven@gimp.org>
* plug-ins/common/displace.c: applied a modified patch from Joao

View file

@ -1019,6 +1019,11 @@ crop_info_create (GimpCropTool *crop)
NULL);
gtk_dialog_set_default_response (GTK_DIALOG (crop->crop_info->shell),
GIMP_CROP_MODE_CROP);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (crop->crop_info->shell),
GIMP_CROP_MODE_CROP,
GIMP_CROP_MODE_RESIZE,
GTK_RESPONSE_CANCEL,
-1);
g_signal_connect (crop->crop_info->shell, "response",
G_CALLBACK (crop_response),

View file

@ -1436,6 +1436,11 @@ gimp_transform_tool_dialog (GimpTransformTool *tr_tool)
NULL);
gtk_dialog_set_default_response (GTK_DIALOG (tr_tool->info_dialog->shell),
GTK_RESPONSE_OK);
gtk_dialog_set_alternative_button_order (GTK_DIALOG (tr_tool->info_dialog->shell),
RESPONSE_RESET,
GTK_RESPONSE_OK,
GTK_RESPONSE_CANCEL,
-1);
g_signal_connect (tr_tool->info_dialog->shell, "response",
G_CALLBACK (gimp_transform_tool_response),