summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorJabier Arraiza <jabier.arraiza@marker.es>2017-08-25 13:32:29 +0000
committerJabier Arraiza <jabier.arraiza@marker.es>2017-08-25 13:32:29 +0000
commit6d99fed16aeeb21341e5d28f52534b2a0b94f876 (patch)
tree5caf1bbcf66d2c7e04092ef482c00cad63d3d076 /src/widgets
parent[LP:1634022] xcf export - Guides and grids wrongly positionned. Guides and gr... (diff)
downloadinkscape-6d99fed16aeeb21341e5d28f52534b2a0b94f876.tar.gz
inkscape-6d99fed16aeeb21341e5d28f52534b2a0b94f876.zip
Starting with powerpencil
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/pencil-toolbar.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/widgets/pencil-toolbar.cpp b/src/widgets/pencil-toolbar.cpp
index b15cc5b30..d3c7f5a79 100644
--- a/src/widgets/pencil-toolbar.cpp
+++ b/src/widgets/pencil-toolbar.cpp
@@ -136,6 +136,13 @@ static void sp_add_freehand_mode_toggle(GtkActionGroup* mainActions, GObject* ho
1, _("Create a sequence of paraxial line segments"),
2, INKSCAPE_ICON("path-mode-polyline-paraxial"),
-1 );
+ } else {
+ gtk_list_store_append( model, &iter );
+ gtk_list_store_set( model, &iter,
+ 0, _("PowerStroke"),
+ 1, _("Create a variable with with power stroke"),
+ 2, INKSCAPE_ICON("draw-use-pressure"),
+ -1 );
}
EgeSelectOneAction* act = ege_select_one_action_new(tool_is_pencil ?