summaryrefslogtreecommitdiffstats
path: root/src/widgets/spray-toolbar.cpp
diff options
context:
space:
mode:
authorJabier Arraiza Cenoz <jabier.arraiza@marker.es>2015-10-30 10:58:17 +0000
committerjabiertxof <jabier.arraiza@marker.es>2015-10-30 10:58:17 +0000
commit670abe866479007812bdd5c5b29eff5116e06c8a (patch)
treed5d0e510ddf9f4e5a6633b4e07968d3859ecdbf7 /src/widgets/spray-toolbar.cpp
parentupdate to trunk (diff)
downloadinkscape-670abe866479007812bdd5c5b29eff5116e06c8a.tar.gz
inkscape-670abe866479007812bdd5c5b29eff5116e06c8a.zip
Some fixes to new pressure options
(bzr r14422.1.29)
Diffstat (limited to 'src/widgets/spray-toolbar.cpp')
-rw-r--r--src/widgets/spray-toolbar.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/spray-toolbar.cpp b/src/widgets/spray-toolbar.cpp
index 3b175b715..bc994d1b7 100644
--- a/src/widgets/spray-toolbar.cpp
+++ b/src/widgets/spray-toolbar.cpp
@@ -371,7 +371,7 @@ void sp_spray_toolbox_prep(SPDesktop *desktop, GtkActionGroup* mainActions, GObj
_("Pressure"),
_("Use the pressure of the input device to alter the scale of new items"),
INKSCAPE_ICON("draw-use-pressure"),
- secondarySize );
+ Inkscape::ICON_SIZE_DECORATION);
gtk_toggle_action_set_active( GTK_TOGGLE_ACTION(act), prefs->getBool("/tools/spray/usepressurescale", false) );
g_object_set_data( holder, "usepressurescale", act );
g_signal_connect_after( G_OBJECT(act), "toggled", G_CALLBACK(sp_toggle_pressure_scale), holder) ;