diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-01-11 13:22:46 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-01-11 13:22:46 +0000 |
| commit | 50d914529e56d47f765685d738e537cf41601894 (patch) | |
| tree | d6077252931ff2b110aab7df794a7b0d84acc9b9 /src/tweak-context.cpp | |
| parent | remove the struts (diff) | |
| download | inkscape-50d914529e56d47f765685d738e537cf41601894.tar.gz inkscape-50d914529e56d47f765685d738e537cf41601894.zip | |
Add missing selection cue option to preferences for tweak, calligraphy, and paint bucket tools
(bzr r4457)
Diffstat (limited to 'src/tweak-context.cpp')
| -rw-r--r-- | src/tweak-context.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/tweak-context.cpp b/src/tweak-context.cpp index 85831a648..09e13f1fc 100644 --- a/src/tweak-context.cpp +++ b/src/tweak-context.cpp @@ -264,6 +264,14 @@ sp_tweak_context_setup(SPEventContext *ec) tc->style_set_connection = ec->desktop->connectSetStyle( // catch style-setting signal in this tool sigc::bind(sigc::ptr_fun(&sp_tweak_context_style_set), tc) ); + + if (prefs_get_int_attribute("tools.tweak", "selcue", 0) != 0) { + ec->enableSelectionCue(); + } + + if (prefs_get_int_attribute("tools.tweak", "gradientdrag", 0) != 0) { + ec->enableGrDrag(); + } } static void |
