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/seltrans.cpp | |
| 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/seltrans.cpp')
| -rw-r--r-- | src/seltrans.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/seltrans.cpp b/src/seltrans.cpp index f7ffe69c0..a3f343841 100644 --- a/src/seltrans.cpp +++ b/src/seltrans.cpp @@ -94,7 +94,7 @@ Inkscape::SelTrans::SelTrans(SPDesktop *desktop) : _stamp_cache(NULL), _message_context(desktop->messageStack()) { - gchar const *prefs_bbox = prefs_get_string_attribute("tools.select", "bounding_box"); + gchar const *prefs_bbox = prefs_get_string_attribute("tools", "bounding_box"); _snap_bbox_type = (prefs_bbox != NULL && strcmp(prefs_bbox, "geometric")==0)? SPItem::GEOMETRIC_BBOX : SPItem::APPROXIMATE_BBOX; g_return_if_fail(desktop != NULL); @@ -791,7 +791,7 @@ void Inkscape::SelTrans::_selChanged(Inkscape::Selection */*selection*/) { if (!_grabbed) { // reread in case it changed on the fly: - gchar const *prefs_bbox = prefs_get_string_attribute("tools.select", "bounding_box"); + gchar const *prefs_bbox = prefs_get_string_attribute("tools", "bounding_box"); _snap_bbox_type = (prefs_bbox != NULL && strcmp(prefs_bbox, "geometric")==0)? SPItem::GEOMETRIC_BBOX : SPItem::APPROXIMATE_BBOX; //SPItem::APPROXIMATE_BBOX will be replaced by SPItem::VISUAL_BBOX, as soon as the latter is implemented properly |
