diff options
| author | Maximilian Albert <maximilian.albert@gmail.com> | 2008-01-16 09:15:26 +0000 |
|---|---|---|
| committer | cilix42 <cilix42@users.sourceforge.net> | 2008-01-16 09:15:26 +0000 |
| commit | 80d4f7a1195900b44b03b0816d92c0a8af2df84b (patch) | |
| tree | a8f521abfeecedf90e39c00f5b100398cabf345c /src/ui | |
| parent | Adding jo Irisson for all his work on the Mac port (diff) | |
| download | inkscape-80d4f7a1195900b44b03b0816d92c0a8af2df84b.tar.gz inkscape-80d4f7a1195900b44b03b0816d92c0a8af2df84b.zip | |
Move 'bounding box' option up one level (from Selector to Tools page in Preferences) since it applies more globally than just in the Selector tool (see discussion on the mailing list)
(bzr r4513)
Diffstat (limited to 'src/ui')
| -rw-r--r-- | src/ui/dialog/inkscape-preferences.cpp | 16 | ||||
| -rw-r--r-- | src/ui/dialog/inkscape-preferences.h | 2 |
2 files changed, 9 insertions, 9 deletions
diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index d0fb56f97..ca25ad127 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -326,6 +326,14 @@ void InkscapePreferences::initPageTools() Gtk::TreeModel::iterator iter_tools = this->AddPage(_page_tools, _("Tools"), PREFS_PAGE_TOOLS); _path_tools = _page_list.get_model()->get_path(iter_tools); + _page_tools.add_group_header( _("Bounding box to use:")); + _t_bbox_visual.init ( _("Visual bounding box"), "tools", "bounding_box", "visual", false, 0); + _page_tools.add_line( true, "", _t_bbox_visual, "", + _("This bounding box includes stroke width, markers, filter margins, etc.")); + _t_bbox_geometric.init ( _("Geometric bounding box"), "tools", "bounding_box", "geometric", true, &_t_bbox_visual); + _page_tools.add_line( true, "", _t_bbox_geometric, "", + _("This bounding box includes only the bare path")); + _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); _connector_ignore_text.init( _("Don't attach connectors to text objects"), "tools.connector", "ignoretext", true); @@ -352,14 +360,6 @@ void InkscapePreferences::initPageTools() _page_selector.add_line( true, "", _t_sel_cue_box, "", _("Each selected object displays its bounding box")); - _page_selector.add_group_header( _("Bounding box to use:")); - _t_sel_bbox_visual.init ( _("Visual bounding box"), "tools.select", "bounding_box", "visual", false, 0); - _page_selector.add_line( true, "", _t_sel_bbox_visual, "", - _("This bounding box includes stroke width, markers, filter margins, etc.")); - _t_sel_bbox_geometric.init ( _("Geometric bounding box"), "tools.select", "bounding_box", "geometric", true, &_t_sel_bbox_visual); - _page_selector.add_line( true, "", _t_sel_bbox_geometric, "", - _("This bounding box includes only the bare path")); - //Node this->AddPage(_page_node, _("Node"), iter_tools, PREFS_PAGE_TOOLS_NODE); AddSelcueCheckbox(_page_node, "tools.nodes", true); diff --git a/src/ui/dialog/inkscape-preferences.h b/src/ui/dialog/inkscape-preferences.h index 607953802..02f2c2da4 100644 --- a/src/ui/dialog/inkscape-preferences.h +++ b/src/ui/dialog/inkscape-preferences.h @@ -122,7 +122,7 @@ protected: PrefSpinButton _steps_arrow, _steps_scale, _steps_inset, _steps_zoom; PrefRadioButton _t_sel_trans_obj, _t_sel_trans_outl, _t_sel_cue_none, _t_sel_cue_mark, - _t_sel_cue_box, _t_sel_bbox_visual, _t_sel_bbox_geometric; + _t_sel_cue_box, _t_bbox_visual, _t_bbox_geometric; PrefSpinButton _t_pencil_tolerance; |
