set "activates-default" on all spinbuttons.

2005-09-24  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell-scale.c
	(gimp_display_shell_scale_dialog): set "activates-default" on all
	spinbuttons.
This commit is contained in:
Michael Natterer 2005-09-24 18:45:02 +00:00 committed by Michael Natterer
parent 2683c3f2df
commit 80a31bfe83
2 changed files with 10 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2005-09-24 Michael Natterer <mitch@gimp.org>
* app/display/gimpdisplayshell-scale.c
(gimp_display_shell_scale_dialog): set "activates-default" on all
spinbuttons.
2005-09-24 Michael Natterer <mitch@gimp.org>
* plug-ins/common/compose.c: fixed some brokenness caused by my
@ -60,7 +66,7 @@
2005-09-23 Michael Natterer <mitch@gimp.org>
* menus/image-menu.xml.in: reordered submenus and placeholders
so stuff not grouped that randomly any longer.
so stuff is not grouped that randomly any longer.
* plug-ins/script-fu/scripts/hsv-graph.scm: move it to the "Info"
placeholder so it is next to histogram and ccanalyze.

View File

@ -508,6 +508,7 @@ gimp_display_shell_scale_dialog (GimpDisplayShell *shell)
spin = gimp_spin_button_new (&data->num_adj,
num, 1, 256,
1, 8, 1, 1, 0);
gtk_entry_set_activates_default (GTK_ENTRY (spin), TRUE);
gtk_box_pack_start (GTK_BOX (hbox), spin, TRUE, TRUE, 0);
gtk_widget_show (spin);
@ -518,6 +519,7 @@ gimp_display_shell_scale_dialog (GimpDisplayShell *shell)
spin = gimp_spin_button_new (&data->denom_adj,
denom, 1, 256,
1, 8, 1, 1, 0);
gtk_entry_set_activates_default (GTK_ENTRY (spin), TRUE);
gtk_box_pack_start (GTK_BOX (hbox), spin, TRUE, TRUE, 0);
gtk_widget_show (spin);
@ -530,6 +532,7 @@ gimp_display_shell_scale_dialog (GimpDisplayShell *shell)
fabs (shell->other_scale) * 100,
100.0 / 256.0, 25600.0,
10, 50, 0, 1, 2);
gtk_entry_set_activates_default (GTK_ENTRY (spin), TRUE);
gtk_box_pack_start (GTK_BOX (hbox), spin, TRUE, TRUE, 0);
gtk_widget_show (spin);