summaryrefslogtreecommitdiffstats
path: root/src/ui/tools-switch.cpp
diff options
context:
space:
mode:
authorsuv-lp <>2016-01-30 08:31:50 +0000
committerJazzyNico <nicoduf@yahoo.fr>2016-01-30 08:31:50 +0000
commit7a8702cfed2c7d18434ccfd639976061c3ae33be (patch)
tree96cc43e9c5f232d0e434033c85e91da84f1d6bbe /src/ui/tools-switch.cpp
parentImprove advertaising to Fillet-Chamfer (diff)
downloadinkscape-7a8702cfed2c7d18434ccfd639976061c3ae33be.tar.gz
inkscape-7a8702cfed2c7d18434ccfd639976061c3ae33be.zip
Fix for bug 1539704 (Crash when selecting the eraser tool).
Fixed bugs: - https://launchpad.net/bugs/1539704 (bzr r14626)
Diffstat (limited to 'src/ui/tools-switch.cpp')
-rw-r--r--src/ui/tools-switch.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ui/tools-switch.cpp b/src/ui/tools-switch.cpp
index 11313f550..ea0431b0a 100644
--- a/src/ui/tools-switch.cpp
+++ b/src/ui/tools-switch.cpp
@@ -42,7 +42,11 @@
#include "ui/tools/connector-tool.h"
#include "ui/tools/dropper-tool.h"
#include "ui/tools/eraser-tool.h"
+
+#if HAVE_POTRACE
#include "ui/tools/flood-tool.h"
+#endif
+
#include "ui/tools/gradient-tool.h"
#include "ui/tools/lpe-tool.h"
#include "ui/tools/measure-tool.h"
@@ -83,7 +87,9 @@ static char const *const tool_names[] = {
"/tools/measure",
"/tools/dropper",
"/tools/connector",
+#if HAVE_POTRACE
"/tools/paintbucket",
+#endif
"/tools/eraser",
"/tools/lpetool",
NULL
@@ -111,7 +117,9 @@ static char const *const tool_msg[] = {
N_("<b>Drag</b> to measure the dimensions of objects."),
N_("<b>Click</b> to set fill, <b>Shift+click</b> to set stroke; <b>drag</b> to average color in area; with <b>Alt</b> to pick inverse color; <b>Ctrl+C</b> to copy the color under mouse to clipboard"),
N_("<b>Click and drag</b> between shapes to create a connector."),
+#if HAVE_POTRACE
N_("<b>Click</b> to paint a bounded area, <b>Shift+click</b> to union the new fill with the current selection, <b>Ctrl+click</b> to change the clicked object's fill and stroke to the current setting."),
+#endif
N_("<b>Drag</b> to erase."),
N_("Choose a subtool from the toolbar"),
};