add the spinbuttons to the size entry in the correct order. Fixes bug

2004-05-29  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimptemplateeditor.c
	(gimp_template_editor_constructor): add the spinbuttons to the
	size entry in the correct order. Fixes bug 143347.
This commit is contained in:
Sven Neumann 2004-05-28 22:35:54 +00:00 committed by Sven Neumann
parent ff2febccbb
commit e56c2fe71f
2 changed files with 12 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2004-05-29 Sven Neumann <sven@gimp.org>
* app/widgets/gimptemplateeditor.c
(gimp_template_editor_constructor): add the spinbuttons to the
size entry in the correct order. Fixes bug 143347.
2004-05-28 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpdnd.c (gimp_dnd_open_files): if the dropped

View File

@ -260,18 +260,18 @@ gimp_template_editor_constructor (GType type,
gtk_box_pack_start (GTK_BOX (hbox), editor->size_se, FALSE, FALSE, 0);
gtk_widget_show (editor->size_se);
gimp_size_entry_add_field (GIMP_SIZE_ENTRY (editor->size_se),
GTK_SPIN_BUTTON (width), NULL);
gtk_table_attach_defaults (GTK_TABLE (editor->size_se), width,
0, 1, 0, 1);
gtk_widget_show (width);
gimp_size_entry_add_field (GIMP_SIZE_ENTRY (editor->size_se),
GTK_SPIN_BUTTON (height), NULL);
gtk_table_attach_defaults (GTK_TABLE (editor->size_se), height,
0, 1, 1, 2);
gtk_widget_show (height);
gimp_size_entry_add_field (GIMP_SIZE_ENTRY (editor->size_se),
GTK_SPIN_BUTTON (width), NULL);
gtk_table_attach_defaults (GTK_TABLE (editor->size_se), width,
0, 1, 0, 1);
gtk_widget_show (width);
gimp_prop_coordinates_connect (G_OBJECT (editor->template),
"width", "height", "unit",
editor->size_se, NULL,