summaryrefslogtreecommitdiffstats
path: root/src/widgets/eraser-toolbar.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2013-08-09 11:47:56 +0000
committerJaviertxo <jtx@jtx.marker.es>2013-08-09 11:47:56 +0000
commit4e358f420a7a1512c722d9eccd864416bc4c075b (patch)
tree223e826158e09ab2c864abf0214fe1e6a714ab61 /src/widgets/eraser-toolbar.cpp
parentUpdate to trunk (diff)
parentRemove missing files from POTFILES.in (diff)
downloadinkscape-4e358f420a7a1512c722d9eccd864416bc4c075b.tar.gz
inkscape-4e358f420a7a1512c722d9eccd864416bc4c075b.zip
update to trunk
(bzr r11950.1.127)
Diffstat (limited to '')
-rw-r--r--src/widgets/eraser-toolbar.cpp (renamed from src/widgets/erasor-toolbar.cpp)8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/widgets/erasor-toolbar.cpp b/src/widgets/eraser-toolbar.cpp
index 2e074490d..3f5e60780 100644
--- a/src/widgets/erasor-toolbar.cpp
+++ b/src/widgets/eraser-toolbar.cpp
@@ -31,7 +31,7 @@
#include "ui/widget/spinbutton.h"
#include <glibmm/i18n.h>
#include "toolbox.h"
-#include "erasor-toolbar.h"
+#include "eraser-toolbar.h"
#include "calligraphy-toolbar.h"
#include "../desktop.h"
@@ -55,13 +55,9 @@
#include "../xml/repr.h"
#include "ui/uxmanager.h"
#include "../ui/icon-names.h"
-#include "../helper/unit-menu.h"
-#include "../helper/units.h"
-#include "../helper/unit-tracker.h"
#include "../pen-context.h"
-using Inkscape::UnitTracker;
using Inkscape::UI::UXManager;
using Inkscape::DocumentUndo;
using Inkscape::UI::ToolboxFactory;
@@ -149,7 +145,7 @@ void sp_eraser_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions, GOb
_("Pen Width"), _("Width:"),
_("The width of the eraser pen (relative to the visible canvas area)"),
"/tools/eraser/width", 15,
- GTK_WIDGET(desktop->canvas), NULL, holder, TRUE, "altx-eraser",
+ GTK_WIDGET(desktop->canvas), holder, TRUE, "altx-eraser",
1, 100, 1.0, 10.0,
labels, values, G_N_ELEMENTS(labels),
sp_erc_width_value_changed, 1, 0);