diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2016-02-13 01:41:52 +0000 |
|---|---|---|
| committer | jabiertxof <info@marker.es> | 2016-02-13 01:41:52 +0000 |
| commit | 710d4b83c310bd2fe9958aa22a9938b7ddb022a7 (patch) | |
| tree | a68bdf637f98473ef955fb1c4c17d29c5b05032a /src/widgets | |
| parent | if viewbox does not exist, create it from page size, only if page size exists... (diff) | |
| download | inkscape-710d4b83c310bd2fe9958aa22a9938b7ddb022a7.tar.gz inkscape-710d4b83c310bd2fe9958aa22a9938b7ddb022a7.zip | |
Improved eraser tool, now working on documents not pixels and with 0 width
(bzr r14648.1.1)
Diffstat (limited to 'src/widgets')
| -rw-r--r-- | src/widgets/eraser-toolbar.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/widgets/eraser-toolbar.cpp b/src/widgets/eraser-toolbar.cpp index 1f79b50f2..f18a805b2 100644 --- a/src/widgets/eraser-toolbar.cpp +++ b/src/widgets/eraser-toolbar.cpp @@ -122,14 +122,14 @@ void sp_eraser_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions, GOb { /* Width */ - gchar const* labels[] = {_("(hairline)"), 0, 0, 0, _("(default)"), 0, 0, 0, 0, _("(broad stroke)")}; - gdouble values[] = {1, 3, 5, 10, 15, 20, 30, 50, 75, 100}; + gchar const* labels[] = {_("(no width)"),_("(hairline)"), 0, 0, 0, _("(default)"), 0, 0, 0, 0, _("(broad stroke)")}; + gdouble values[] = {0, 1, 3, 5, 10, 15, 20, 30, 50, 75, 100}; EgeAdjustmentAction *eact = create_adjustment_action( "EraserWidthAction", _("Pen Width"), _("Width:"), _("The width of the eraser pen (relative to the visible canvas area)"), "/tools/eraser/width", 15, GTK_WIDGET(desktop->canvas), holder, TRUE, "altx-eraser", - 1, 100, 1.0, 10.0, + 0, 100, 1.0, 10.0, labels, values, G_N_ELEMENTS(labels), sp_erc_width_value_changed, NULL /*unit tracker*/, 1, 0); ege_adjustment_action_set_appearance( eact, TOOLBAR_SLIDER_HINT ); |
