Bug 731765 - "Value Propagate" dialog's "Propagating rate" spinbuttons...

...are much too quick

In gimp_scale_entry_new(), set the spinbutton's climb_rate to the same
value as step_increment instead of hardcoding 1.0. This should make
many spinbuttons behave better.
This commit is contained in:
Michael Natterer 2014-06-21 16:52:18 +02:00
parent d344f5a01f
commit b9265ebfb9
1 changed files with 2 additions and 2 deletions

View File

@ -164,7 +164,7 @@ gimp_scale_entry_new_internal (gboolean color_scale,
unconstrained_lower,
unconstrained_upper,
step_increment, page_increment, 0.0,
1.0, digits);
step_increment, digits);
g_signal_connect
(G_OBJECT (constrained_adj), "value-changed",
@ -184,7 +184,7 @@ gimp_scale_entry_new_internal (gboolean color_scale,
{
spinbutton = gimp_spin_button_new (&adjustment, value, lower, upper,
step_increment, page_increment, 0.0,
1.0, digits);
step_increment, digits);
return_adj = adjustment;
}