*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
- if (range <= 500) si = 1;
- }
- return GTK_ADJUSTMENT (gtk_adjustment_new (value, p->low, p->high,
- si, pi, pi));
+ if (range <= 500) si = 1;
+
+ return GTK_ADJUSTMENT (gtk_adjustment_new (value,
+ p->low,
+ p->high + 1,
+ si, pi, 1));
gtk_scale_set_digits (GTK_SCALE (scale), (p->integer_p ? 0 : 2));
if (row)
gtk_table_attach (GTK_TABLE (parent), scale, 1, 2,
gtk_scale_set_digits (GTK_SCALE (scale), (p->integer_p ? 0 : 2));
if (row)
gtk_table_attach (GTK_TABLE (parent), scale, 1, 2,
if (row)
gtk_table_attach (GTK_TABLE (parent), p->widget, 0, 3,
*row, *row + 1,
if (row)
gtk_table_attach (GTK_TABLE (parent), p->widget, 0, 3,
*row, *row + 1,
if (1 == sscanf ((char *) value, "%f %c", &f, &c))
{
if (p->invert_p)
if (1 == sscanf ((char *) value, "%f %c", &f, &c))
{
if (p->invert_p)
split_command_line (full_command_line, &prog, &args);
cd = load_configurator_1 (prog, args, verbose_p);
free (prog);
split_command_line (full_command_line, &prog, &args);
cd = load_configurator_1 (prog, args, verbose_p);
free (prog);