diff options
| author | John Bintz <me@johnbintz.com> | 2007-03-11 02:56:54 +0000 |
|---|---|---|
| committer | johncoswell <johncoswell@users.sourceforge.net> | 2007-03-11 02:56:54 +0000 |
| commit | 030cddab1f0e752927d7d3fb78af6398b7da90e7 (patch) | |
| tree | ffef120b638f9ea1b12be1a02097129da97caea2 /src/widgets/toolbox.cpp | |
| parent | Merge further bbox work (diff) | |
| download | inkscape-030cddab1f0e752927d7d3fb78af6398b7da90e7.tar.gz inkscape-030cddab1f0e752927d7d3fb78af6398b7da90e7.zip | |
Change tolerance to threshold
(bzr r2597)
Diffstat (limited to 'src/widgets/toolbox.cpp')
| -rw-r--r-- | src/widgets/toolbox.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index c949c75fc..0d92dbe8a 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -4430,9 +4430,9 @@ sp_connector_toolbox_new(SPDesktop *desktop) } // end of sp_connector_toolbox_new() -static void paintbucket_tolerance_changed(GtkAdjustment *adj, GtkWidget *tbl) +static void paintbucket_threshold_changed(GtkAdjustment *adj, GtkWidget *tbl) { - prefs_set_int_attribute("tools.paintbucket", "tolerance", (gint)adj->value); + prefs_set_int_attribute("tools.paintbucket", "threshold", (gint)adj->value); spinbutton_defocus(GTK_OBJECT(tbl)); } @@ -4475,13 +4475,13 @@ sp_paintbucket_toolbox_new(SPDesktop *desktop) // Spacing spinbox { - GtkWidget *tolerance = sp_tb_spinbutton(_("Tolerance:"), + GtkWidget *threshold = sp_tb_spinbutton(_("Threshold:"), _("The maximum allowed difference between the clicked pixel and the neighboring pixels to be counted in the fill"), - "tools.paintbucket", "tolerance", 5, NULL, tbl, TRUE, - "inkscape:paintbucket-tolerance", 0, 100, 1.0, 10.0, - paintbucket_tolerance_changed, 1, 0); + "tools.paintbucket", "threshold", 5, NULL, tbl, TRUE, + "inkscape:paintbucket-threshold", 0, 100, 1.0, 10.0, + paintbucket_threshold_changed, 1, 0); - gtk_box_pack_start(GTK_BOX(tbl), tolerance, FALSE, FALSE, + gtk_box_pack_start(GTK_BOX(tbl), threshold, FALSE, FALSE, AUX_SPACING); } |
