diff options
| author | Jabiertxof <jtx@jtx> | 2017-01-06 01:09:33 +0000 |
|---|---|---|
| committer | Jabiertxof <jtx@jtx> | 2017-01-06 01:09:33 +0000 |
| commit | 13412fe4b1e8ed5cf540394f799ac8df21b1cbc8 (patch) | |
| tree | f54be9c29c6a72effb68ee443d6904b89a3e2fcd /src | |
| parent | * [INTL:sk] Slovak translation update (diff) | |
| download | inkscape-13412fe4b1e8ed5cf540394f799ac8df21b1cbc8.tar.gz inkscape-13412fe4b1e8ed5cf540394f799ac8df21b1cbc8.zip | |
Improve UI to partialy fix bug 1654121 now offset in measure is neas the only button tat have this option. also improved tooltip
(bzr r15393)
Diffstat (limited to 'src')
| -rw-r--r-- | src/widgets/measure-toolbar.cpp | 2 | ||||
| -rw-r--r-- | src/widgets/toolbox.cpp | 5 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/widgets/measure-toolbar.cpp b/src/widgets/measure-toolbar.cpp index a8c974bbc..066c3fbfa 100644 --- a/src/widgets/measure-toolbar.cpp +++ b/src/widgets/measure-toolbar.cpp @@ -326,7 +326,7 @@ void sp_measure_toolbox_prep(SPDesktop * desktop, GtkActionGroup* mainActions, G { eact = create_adjustment_action( "MeasureOffsetAction", _("Offset"), _("Offset:"), - _("The offset size"), + _("Mark dimension offset"), "/tools/measure/offset", 5.0, GTK_WIDGET(desktop->canvas), holder, FALSE, NULL, 0.0, 90000.0, 1.0, 4.0, diff --git a/src/widgets/toolbox.cpp b/src/widgets/toolbox.cpp index 758a3125b..126eac9cd 100644 --- a/src/widgets/toolbox.cpp +++ b/src/widgets/toolbox.cpp @@ -362,8 +362,6 @@ static gchar const * ui_descr = " <separator />" " <toolitem action='MeasureScaleAction' />" " <separator />" - " <toolitem action='MeasureOffsetAction' />" - " <separator />" " <toolitem action='measure_units_label' />" " <toolitem action='MeasureUnitsAction' />" " <toolitem action='MeasureIgnore1stAndLast' />" @@ -373,8 +371,9 @@ static gchar const * ui_descr = " <toolitem action='MeasureReverse' />" " <toolitem action='MeasureToPhantom' />" " <toolitem action='MeasureToGuides' />" - " <toolitem action='MeasureMarkDimension' />" " <toolitem action='MeasureToItem' />" + " <toolitem action='MeasureMarkDimension' />" + " <toolitem action='MeasureOffsetAction' />" " </toolbar>" " <toolbar name='StarToolbar'>" |
