summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2007-03-08 06:32:50 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2007-03-08 06:32:50 +0000
commit9bc1f496a58ba225c488878475f911bef4749195 (patch)
tree9611115e9edb0aa0c64d85291c7921da3fddb8fc /src
parentAdd units selector to offset and remove offset range limits (diff)
downloadinkscape-9bc1f496a58ba225c488878475f911bef4749195.tar.gz
inkscape-9bc1f496a58ba225c488878475f911bef4749195.zip
make default paintbucket offset 0
(bzr r2565)
Diffstat (limited to 'src')
-rw-r--r--src/flood-context.cpp2
-rw-r--r--src/widgets/toolbox.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/flood-context.cpp b/src/flood-context.cpp
index 5d106a795..cd2f1a5ec 100644
--- a/src/flood-context.cpp
+++ b/src/flood-context.cpp
@@ -302,7 +302,7 @@ static void do_trace(GdkPixbuf *px, SPDesktop *desktop, NR::Matrix transform) {
long totalNodeCount = 0L;
- double offset = prefs_get_double_attribute("tools.paintbucket", "offset", 2.0);
+ double offset = prefs_get_double_attribute("tools.paintbucket", "offset", 0.0);
for (unsigned int i=0 ; i<results.size() ; i++) {
Inkscape::Trace::TracingEngineResult result = results[i];
diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp
index 975a8cbda..ce2c8eecd 100644
--- a/src/widgets/toolbox.cpp
+++ b/src/widgets/toolbox.cpp
@@ -4478,7 +4478,7 @@ sp_paintbucket_toolbox_new(SPDesktop *desktop)
{
GtkWidget *offset = sp_tb_spinbutton(_("Offset:"),
_("The amount to grow the path after it has been traced"),
- "tools.paintbucket", "offset", 5, us, tbl, TRUE,
+ "tools.paintbucket", "offset", 0, us, tbl, TRUE,
"inkscape:paintbucket-offset", -1e6, 1e6, 0.1, 0.5,
paintbucket_offset_changed, 1, 2);