diff options
author | Owen Taylor <otaylor@redhat.com> | 2002-01-29 19:44:49 +0000 |
---|---|---|
committer | Owen Taylor <otaylor@src.gnome.org> | 2002-01-29 19:44:49 +0000 |
commit | 854372b9be425955fccd2f6c2ef70b3719b5183d (patch) | |
tree | 86d556dc7a9e2e96a041f0f082a0af747805d20e /gtk/gtkhscale.c | |
parent | cac17ab7b4d1f549547996e7cf3c0f4c41ae2a1e (diff) | |
download | gtk+-854372b9be425955fccd2f6c2ef70b3719b5183d.tar.gz |
Add <Control>Tab bindings for "move-focus" so that Control-Tab to escape
Tue Jan 29 14:24:49 2002 Owen Taylor <otaylor@redhat.com>
* gtk/gtkwindow.c (gtk_window_class_init): Add <Control>Tab
bindings for "move-focus" so that Control-Tab to escape from
something that eats Tab just works if not otherwise overriden.
* gtk/gtkspinbutton.c (gtk_spin_button_new_with_range)
* gtk/gtkvscale.c (gtk_vscale_new_with_range)
* gtk/gtkhscale.c (gtk_hscale_new_with_range): Use a page_size
of zero for the adjustment, since at times we think that the range
is lower to upper - page_size. A page size equally to the
step_increment is, in any case, not meaningful.
Diffstat (limited to 'gtk/gtkhscale.c')
-rw-r--r-- | gtk/gtkhscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkhscale.c b/gtk/gtkhscale.c index a85b6b9755..8e0984c922 100644 --- a/gtk/gtkhscale.c +++ b/gtk/gtkhscale.c @@ -129,7 +129,7 @@ gtk_hscale_new_with_range (gdouble min, g_return_val_if_fail (min < max, NULL); g_return_val_if_fail (step != 0.0, NULL); - adj = gtk_adjustment_new (min, min, max, step, 10 * step, step); + adj = gtk_adjustment_new (min, min, max, step, 10 * step, 0); scale = g_object_new (GTK_TYPE_HSCALE, "adjustment", adj, |