summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authormjwybrow <mjwybrow@users.sourceforge.net>2006-05-12 04:13:28 +0000
committermjwybrow <mjwybrow@users.sourceforge.net>2006-05-12 04:13:28 +0000
commitd85d9cff57b1c28817fbf6c966288e4ad765910f (patch)
tree44c005b0ba549cf8a78bb49abe26b9cf3c6d677d /src/ui
parentre-generated tutorials with updated calligraphy and advanced in english, as w... (diff)
downloadinkscape-d85d9cff57b1c28817fbf6c966288e4ad765910f.tar.gz
inkscape-d85d9cff57b1c28817fbf6c966288e4ad765910f.zip
* src/ui/dialog/inkscape-preferences.cpp,
src/ui/dialog/inkscape-preferences.h, src/connector-context.cpp: Add a preferences setting to the connector tool for setting whether or not connectors attach to text objects. This addresses feature request #1434292. (bzr r810)
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/dialog/inkscape-preferences.cpp3
-rw-r--r--src/ui/dialog/inkscape-preferences.h2
2 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp
index 25ad8219a..78e6cd812 100644
--- a/src/ui/dialog/inkscape-preferences.cpp
+++ b/src/ui/dialog/inkscape-preferences.cpp
@@ -302,6 +302,7 @@ void InkscapePreferences::initPageTools()
_path_tools = _page_list.get_model()->get_path(iter_tools);
_calligrapy_use_abs_size.init ( _("Width is in absolute units"), "tools.calligraphic", "abs_width", false);
+ _connector_ignore_text.init( _("Don't attach connectors to text objects"), "tools.connector", "ignoretext", true);
//Selector
this->AddPage(_page_selector, _("Selector"), iter_tools, PREFS_PAGE_TOOLS_SELECTOR);
@@ -384,6 +385,8 @@ void InkscapePreferences::initPageTools()
//Connector
this->AddPage(_page_connector, _("Connector"), iter_tools, PREFS_PAGE_TOOLS_CONNECTOR);
this->AddSelcueCheckbox(_page_connector, "tools.connector", true);
+ _page_connector.add_line(false, "", _connector_ignore_text, "",
+ _("If on, conector attachment points will not be shown for text objects"));
//Dropper
this->AddPage(_page_dropper, _("Dropper"), iter_tools, PREFS_PAGE_TOOLS_DROPPER);
this->AddSelcueCheckbox(_page_dropper, "tools.dropper", true);
diff --git a/src/ui/dialog/inkscape-preferences.h b/src/ui/dialog/inkscape-preferences.h
index d850dd431..c3a3c0c9e 100644
--- a/src/ui/dialog/inkscape-preferences.h
+++ b/src/ui/dialog/inkscape-preferences.h
@@ -116,6 +116,8 @@ protected:
PrefCheckButton _calligrapy_use_abs_size;
+ PrefCheckButton _connector_ignore_text;
+
PrefRadioButton _clone_option_parallel, _clone_option_stay, _clone_option_transform,
_clone_option_unlink, _clone_option_delete;