diff options
| author | Jabier Arraiza Cenoz <jabier.arraiza@marker.es> | 2015-11-14 17:32:46 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx.marker.es> | 2015-11-14 17:32:46 +0000 |
| commit | 2e2690f32680b388bee9c629ad832e9d32c28016 (patch) | |
| tree | 83bd548194d712639cd60a3bd63d83db11c5da43 /src/widgets/spray-toolbar.cpp | |
| parent | adding default width (diff) | |
| parent | Fix erase mode in no overlap mode, pointed by Ivan Louette (diff) | |
| download | inkscape-2e2690f32680b388bee9c629ad832e9d32c28016.tar.gz inkscape-2e2690f32680b388bee9c629ad832e9d32c28016.zip | |
update to trunk
(bzr r14422.3.9)
Diffstat (limited to 'src/widgets/spray-toolbar.cpp')
| -rw-r--r-- | src/widgets/spray-toolbar.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/widgets/spray-toolbar.cpp b/src/widgets/spray-toolbar.cpp index db1f9526a..1774ba418 100644 --- a/src/widgets/spray-toolbar.cpp +++ b/src/widgets/spray-toolbar.cpp @@ -594,13 +594,15 @@ void sp_spray_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions, GObj /* Offset */ { + gchar const* labels[] = {_("(minimum offset)"), 0, 0, 0, _("(default)"), 0, 0, _("(maximum offset)")}; + gdouble values[] = {0, 25, 50, 75, 100, 150, 200, 1000}; EgeAdjustmentAction *eact = create_adjustment_action( "SprayToolOffsetAction", _("Offset %"), _("Offset %:"), _("Increase to segregate objects more (value in percent)"), "/tools/spray/offset", 100, GTK_WIDGET(desktop->canvas), holder, FALSE, NULL, - 0, 10000, 1, 4, - 0, 0, 0, + 0, 1000, 1, 4, + labels, values, G_N_ELEMENTS(labels), sp_spray_offset_value_changed, NULL, 0 , 0); g_object_set_data( holder, "offset", eact ); gtk_action_group_add_action( mainActions, GTK_ACTION(eact) ); |
