show two decimal digits when editing "Pixels" in the "Center" size entry.

2006-10-24  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimprotatetool.c (gimp_rotate_tool_dialog): show two
	decimal digits when editing "Pixels" in the "Center" size entry.
	Addresses bug #363775.
This commit is contained in:
Michael Natterer 2006-10-23 22:36:45 +00:00 committed by Michael Natterer
parent 381c53f469
commit da50dcaa46
2 changed files with 7 additions and 0 deletions

View File

@ -1,3 +1,9 @@
2006-10-24 Michael Natterer <mitch@gimp.org>
* app/tools/gimprotatetool.c (gimp_rotate_tool_dialog): show two
decimal digits when editing "Pixels" in the "Center" size entry.
Addresses bug #363775.
2006-10-23 Michael Natterer <mitch@gimp.org> 2006-10-23 Michael Natterer <mitch@gimp.org>
* app/plug-in/gimppluginmanager.c (gimp_plug_in_manager_restore): * app/plug-in/gimppluginmanager.c (gimp_plug_in_manager_restore):

View File

@ -164,6 +164,7 @@ gimp_rotate_tool_dialog (GimpTransformTool *tr_tool)
GIMP_SIZE_ENTRY_UPDATE_SIZE); GIMP_SIZE_ENTRY_UPDATE_SIZE);
gimp_size_entry_add_field (GIMP_SIZE_ENTRY (rotate->sizeentry), gimp_size_entry_add_field (GIMP_SIZE_ENTRY (rotate->sizeentry),
GTK_SPIN_BUTTON (button), NULL); GTK_SPIN_BUTTON (button), NULL);
gimp_size_entry_set_pixel_digits (GIMP_SIZE_ENTRY (rotate->sizeentry), 2);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 3, _("Center _Y:"), gimp_table_attach_aligned (GTK_TABLE (table), 0, 3, _("Center _Y:"),
0.0, 0.5, rotate->sizeentry, 1, TRUE); 0.0, 0.5, rotate->sizeentry, 1, TRUE);