summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorbulia byak <buliabyak@gmail.com>2006-05-14 03:27:13 +0000
committerbuliabyak <buliabyak@users.sourceforge.net>2006-05-14 03:27:13 +0000
commit92e6878591dfdd45e6bf32b6b565c4ae24d499ac (patch)
tree0f1153026d657bb9f6c8177f7f68e3278271e9f2 /src/ui
parentpatch for bug 1458643 by Andreas Burman (diff)
downloadinkscape-92e6878591dfdd45e6bf32b6b565c4ae24d499ac.tar.gz
inkscape-92e6878591dfdd45e6bf32b6b565c4ae24d499ac.zip
keep selected option for calligraphic
(bzr r830)
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/dialog/inkscape-preferences.cpp3
-rw-r--r--src/ui/dialog/inkscape-preferences.h1
2 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp
index f5b447e26..b3eac4336 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);
+ _calligrapy_keep_selected.init ( _("Keep selected"), "tools.calligraphic", "keep_selected", true);
_connector_ignore_text.init( _("Don't attach connectors to text objects"), "tools.connector", "ignoretext", true);
//Selector
@@ -374,6 +375,8 @@ void InkscapePreferences::initPageTools()
this->AddNewObjectsStyle(_page_calligraphy, "tools.calligraphic");
_page_calligraphy.add_line( false, "", _calligrapy_use_abs_size, "",
_("If on, pen width is in absolute units (px) independent of zoom; otherwise pen width depends on zoom so that it looks the same at any zoom"));
+ _page_calligraphy.add_line( false, "", _calligrapy_keep_selected, "",
+ _("If on, each object created with this tool will remain selected after you finish drawing it"));
//Text
this->AddPage(_page_text, _("Text"), iter_tools, PREFS_PAGE_TOOLS_TEXT);
this->AddSelcueCheckbox(_page_text, "tools.text", true);
diff --git a/src/ui/dialog/inkscape-preferences.h b/src/ui/dialog/inkscape-preferences.h
index c3a3c0c9e..077c2c416 100644
--- a/src/ui/dialog/inkscape-preferences.h
+++ b/src/ui/dialog/inkscape-preferences.h
@@ -115,6 +115,7 @@ protected:
PrefCheckButton _win_save_geom, _win_hide_task, _win_zoom_resize;
PrefCheckButton _calligrapy_use_abs_size;
+ PrefCheckButton _calligrapy_keep_selected;
PrefCheckButton _connector_ignore_text;