Commit 415a2005 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

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).
parent 13ce17be
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
......
......@@ -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),
......
......@@ -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),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment