Commit 9a6085b2 authored by William Skaggs's avatar William Skaggs

Bill skaggs <weskaggs@primate.ucdavis.edu>

	* app/tools/gimppaintoptions-gui.c (jitter_options_gui):
	Use a scale entry instead of spinbutton for jitter amount,
	as discussed in bug #163049.
parent c218c4be
2005-10-25 Bill skaggs <weskaggs@primate.ucdavis.edu>
* app/tools/gimppaintoptions-gui.c (jitter_options_gui):
Use a scale entry instead of spinbutton for jitter amount,
as discussed in bug #163049.
2005-10-25 Michael Natterer <mitch@gimp.org>
* app/core/gimpimage-contiguous-region.c
......
......@@ -375,7 +375,6 @@ jitter_options_gui (GimpJitterOptions *jitter,
GObject *config = G_OBJECT (paint_options);
GtkWidget *frame = NULL;
GtkWidget *table;
GtkWidget *spinbutton;
GtkWidget *button;
if (g_type_is_a (tool_type, GIMP_TYPE_PAINTBRUSH_TOOL) ||
......@@ -393,7 +392,7 @@ jitter_options_gui (GimpJitterOptions *jitter,
gtk_frame_set_label_widget (GTK_FRAME (frame), button);
gtk_widget_show (button);
table = gtk_table_new (1, 2, FALSE);
table = gtk_table_new (1, 3, FALSE);
gtk_table_set_col_spacings (GTK_TABLE (table), 2);
gtk_container_add (GTK_CONTAINER (frame), table);
if (jitter->use_jitter)
......@@ -403,13 +402,11 @@ jitter_options_gui (GimpJitterOptions *jitter,
G_CALLBACK (gimp_toggle_button_set_visible),
table, 0);
spinbutton = gimp_prop_spin_button_new (config, "jitter-amount",
0.01, 0.1, 2);
gtk_entry_set_width_chars (GTK_ENTRY (spinbutton), 6);
gimp_table_attach_aligned (GTK_TABLE (table), 0, 0,
_("Amount:"), 0.0, 0.5,
spinbutton, 1, FALSE);
gimp_prop_scale_entry_new (config, "jitter-amount",
GTK_TABLE (table), 0, 0,
_("Amount:"),
0.01, 0.1, 2,
TRUE, 0.0, 2.0);
}
return frame;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment