summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorLiam P. White <inkscapebronyat-signgmaildotcom>2014-05-09 00:26:27 +0000
committerLiam P. White <inkscapebronyat-signgmaildotcom>2014-05-09 00:26:27 +0000
commit3d1cf059b042d213642e74cef82ec372e79281e4 (patch)
tree8a5d0f69c4c7372e87bd2a88bffc405e0a02258f /src/widgets
parentUpdate to trunk (diff)
parentMerging Jabier's spirolive+bspline branch (diff)
downloadinkscape-3d1cf059b042d213642e74cef82ec372e79281e4.tar.gz
inkscape-3d1cf059b042d213642e74cef82ec372e79281e4.zip
Update to trunk/integrate BSpline
(bzr r13090.1.73)
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/icon.cpp1
-rw-r--r--src/widgets/mappings.xml1
-rw-r--r--src/widgets/pencil-toolbar.cpp7
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,