From 50d914529e56d47f765685d738e537cf41601894 Mon Sep 17 00:00:00 2001 From: Maximilian Albert Date: Fri, 11 Jan 2008 13:22:46 +0000 Subject: Add missing selection cue option to preferences for tweak, calligraphy, and paint bucket tools (bzr r4457) --- src/tweak-context.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/tweak-context.cpp') 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 -- cgit v1.2.3