diff options
| author | VinÃcius dos Santos Oliveira <vini.ipsmaker@gmail.com> | 2014-05-08 00:59:39 +0000 |
|---|---|---|
| committer | VinÃcius dos Santos Oliveira <vini.ipsmaker@gmail.com> | 2014-05-08 00:59:39 +0000 |
| commit | 267adec8dfa7797915cff84b463fef5f9570a6e4 (patch) | |
| tree | 2580dea1021dff4f4cf56f750c978fe251de0868 /src/widgets | |
| parent | Documentation. Advanced tutorial update (not fully translated). (diff) | |
| parent | adding const _pathmanipulatos staff to handles (handles also have tips) (diff) | |
| download | inkscape-267adec8dfa7797915cff84b463fef5f9570a6e4.tar.gz inkscape-267adec8dfa7797915cff84b463fef5f9570a6e4.zip | |
Merging Jabier's spirolive+bspline branch
(bzr r13341.2.1)
Diffstat (limited to 'src/widgets')
| -rw-r--r-- | src/widgets/icon.cpp | 1 | ||||
| -rw-r--r-- | src/widgets/mappings.xml | 1 | ||||
| -rw-r--r-- | src/widgets/pencil-toolbar.cpp | 7 |
3 files changed, 8 insertions, 1 deletions
diff --git a/src/widgets/icon.cpp b/src/widgets/icon.cpp index eb16cfece..a96f47124 100644 --- a/src/widgets/icon.cpp +++ b/src/widgets/icon.cpp @@ -685,6 +685,7 @@ void IconImpl::setupLegacyNaming() { legacyNames["draw-star"] ="star_angled"; legacyNames["path-mode-bezier"] ="bezier_mode"; legacyNames["path-mode-spiro"] ="spiro_splines_mode"; + legacyNames["path-mode-bspline"] ="bspline_mode"; legacyNames["path-mode-polyline"] ="polylines_mode"; legacyNames["path-mode-polyline-paraxial"] ="paraxial_lines_mode"; legacyNames["draw-use-tilt"] ="guse_tilt"; diff --git a/src/widgets/mappings.xml b/src/widgets/mappings.xml index 2de3ff545..089bf76ea 100644 --- a/src/widgets/mappings.xml +++ b/src/widgets/mappings.xml @@ -197,6 +197,7 @@ <!-- bezier toolbar --> <remap id='bezier_mode' newid='path-mode-bezier'/> <remap id='spiro_splines_mode' newid='path-mode-spiro'/> + <remap id='bspline_mode' newid='path-mode-bspline'/> <remap id='polylines_mode' newid='path-mode-polyline'/> <remap id='paraxial_lines_mode' newid='path-mode-polyline-paraxial'/> diff --git a/src/widgets/pencil-toolbar.cpp b/src/widgets/pencil-toolbar.cpp index 682de8594..772107101 100644 --- a/src/widgets/pencil-toolbar.cpp +++ b/src/widgets/pencil-toolbar.cpp @@ -104,7 +104,12 @@ static void sp_add_freehand_mode_toggle(GtkActionGroup* mainActions, GObject* ho 1, _("Create Spiro path"), 2, INKSCAPE_ICON("path-mode-spiro"), -1 ); - + gtk_list_store_append( model, &iter ); + gtk_list_store_set( model, &iter, + 0, _("BSpline"), + 1, _("Create BSpline path"), + 2, INKSCAPE_ICON("path-mode-bspline"), + -1 ); if (!tool_is_pencil) { gtk_list_store_append( model, &iter ); gtk_list_store_set( model, &iter, |
