summaryrefslogtreecommitdiffstats
path: root/src/ui
diff options
context:
space:
mode:
authorMaximilian Albert <maximilian.albert@gmail.com>2008-03-19 13:10:47 +0000
committercilix42 <cilix42@users.sourceforge.net>2008-03-19 13:10:47 +0000
commitb01f0b7f1ec778756be10d547e1715a89bd51d42 (patch)
tree3d1a42b86e5090dde0be607fc5badb6800ba1c06 /src/ui
parentnoop: remove superfluous #include (diff)
downloadinkscape-b01f0b7f1ec778756be10d547e1715a89bd51d42.tar.gz
inkscape-b01f0b7f1ec778756be10d547e1715a89bd51d42.zip
Add option to treat grups as single objects when converting to guides.
(bzr r5124)
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, 4 insertions, 1 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp
index 453d3812a..7819faf71 100644
--- a/src/ui/dialog/inkscape-preferences.cpp
+++ b/src/ui/dialog/inkscape-preferences.cpp
@@ -351,6 +351,9 @@ void InkscapePreferences::initPageTools()
_t_cvg_keep_objects.init ( _("Keep objects after conversion to guides"), "tools", "cvg_keep_objects", false);
_page_tools.add_line( true, "", _t_cvg_keep_objects, "",
_("When converting an object to guides, don't delete the object after the conversion."));
+ _t_cvg_convert_whole_groups.init ( _("Treat groups as a single object"), "tools", "cvg_convert_whole_groups", false);
+ _page_tools.add_line( true, "", _t_cvg_convert_whole_groups, "",
+ _("Treat groups as a single object during conversion to guides rather than converting each child separately."));
_calligrapy_use_abs_size.init ( _("Width is in absolute units"), "tools.calligraphic", "abs_width", false);
_calligrapy_keep_selected.init ( _("Select new path"), "tools.calligraphic", "keep_selected", true);
diff --git a/src/ui/dialog/inkscape-preferences.h b/src/ui/dialog/inkscape-preferences.h
index 72afe1b3a..08dbcedf9 100644
--- a/src/ui/dialog/inkscape-preferences.h
+++ b/src/ui/dialog/inkscape-preferences.h
@@ -124,7 +124,7 @@ protected:
PrefRadioButton _t_sel_trans_obj, _t_sel_trans_outl, _t_sel_cue_none, _t_sel_cue_mark,
_t_sel_cue_box, _t_bbox_visual, _t_bbox_geometric;
- PrefCheckButton _t_cvg_keep_objects;
+ PrefCheckButton _t_cvg_keep_objects, _t_cvg_convert_whole_groups;
PrefCheckButton _t_node_pathflash_enabled;
PrefSpinButton _t_node_pathflash_timeout;
PrefColorPicker _t_node_pathoutline_color;