From 7a8702cfed2c7d18434ccfd639976061c3ae33be Mon Sep 17 00:00:00 2001
From: suv-lp <>
Date: Sat, 30 Jan 2016 09:31:50 +0100
Subject: Fix for bug 1539704 (Crash when selecting the eraser tool).
Fixed bugs:
- https://launchpad.net/bugs/1539704
(bzr r14626)
---
src/ui/tools-switch.cpp | 8 ++++++++
1 file changed, 8 insertions(+)
(limited to 'src/ui/tools-switch.cpp')
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_("Drag to measure the dimensions of objects."),
N_("Click to set fill, Shift+click to set stroke; drag to average color in area; with Alt to pick inverse color; Ctrl+C to copy the color under mouse to clipboard"),
N_("Click and drag between shapes to create a connector."),
+#if HAVE_POTRACE
N_("Click to paint a bounded area, Shift+click to union the new fill with the current selection, Ctrl+click to change the clicked object's fill and stroke to the current setting."),
+#endif
N_("Drag to erase."),
N_("Choose a subtool from the toolbar"),
};
--
cgit v1.2.3