diff options
| author | Ralf Stephan <ralf@ark.in-berlin.de> | 2006-02-02 18:09:26 +0000 |
|---|---|---|
| committer | rwst <rwst@users.sourceforge.net> | 2006-02-02 18:09:26 +0000 |
| commit | 84f70a0d1a4e12e9dd6ca8599e6fc8f12f2b9d1c (patch) | |
| tree | 4a6c9c186af16ceb658a5629e37a21247d15b2a5 /src/ui/dialog/document-properties.cpp | |
| parent | Added consts to args of pairing heap compare fn (diff) | |
| download | inkscape-84f70a0d1a4e12e9dd6ca8599e6fc8f12f2b9d1c.tar.gz inkscape-84f70a0d1a4e12e9dd6ca8599e6fc8f12f2b9d1c.zip | |
remove screen pixel toggle for now, add always-snap widget for all
modes
(bzr r65)
Diffstat (limited to 'src/ui/dialog/document-properties.cpp')
| -rw-r--r-- | src/ui/dialog/document-properties.cpp | 32 |
1 files changed, 18 insertions, 14 deletions
diff --git a/src/ui/dialog/document-properties.cpp b/src/ui/dialog/document-properties.cpp index f9a280b86..03cef543a 100644 --- a/src/ui/dialog/document-properties.cpp +++ b/src/ui/dialog/document-properties.cpp @@ -292,8 +292,9 @@ DocumentProperties::build_snap() _rcbsnon.init (_("Snap to object _nodes"), _("Snap to other object nodes"), "inkscape:object-nodes", _wr); - _rsu_sno.init (_("Snap s_ensitivity:"), + _rsu_sno.init (_("Snap s_ensitivity:"), _("Always snap"), _("Controls max. snapping distance from object"), + _("If set, objects snap to the nearest object when moved, regardless of distance"), "objecttolerance", _wr); _rcbsnbb.init (_("Snap _bounding boxes to grid"), _("Snap the edges of the object bounding boxes"), @@ -301,8 +302,9 @@ DocumentProperties::build_snap() _rcbsnnod.init (_("Snap nodes to _grid"), _("Snap path nodes, text baselines, ellipse centers, etc."), "inkscape:grid-points", _wr); - _rsu_sn.init (_("Snap sens_itivity:"), + _rsu_sn.init (_("Snap sens_itivity:"), _("Always snap"), _("Controls max. snapping distance from grid"), + _("If set, objects snap to the nearest grid line when moved, regardless of distance"), "gridtolerance", _wr); _rcb_snpgui.init (_("Snap bounding boxes to g_uides"), _("Snap the edges of the object bounding boxes"), @@ -310,12 +312,14 @@ DocumentProperties::build_snap() _rcb_snbgui.init (_("Snap p_oints to guides"), _("Snap path nodes, text baselines, ellipse centers, etc."), "inkscape:guide-points", _wr); - _rsu_gusn.init (_("Snap sensiti_vity:"), - _("Controls max. snapping distance from guides"), "guidetolerance", _wr); - _rrb_pix.init (_("Sensitivity:"), _("S_creen pixels"), _("p_x units"), - _("Sensitivity is always the same, regardless of zoom."), - _("Sensitivity changes with zoom; zooming in will enlarge max. snapping distance."), - _("inkscape:has_abs_tolerance"), _wr); + _rsu_gusn.init (_("Snap sensiti_vity:"), _("Always snap"), + _("Controls max. snapping distance from guides"), + _("If set, objects snap to the nearest guide when moved, regardless of distance"), + "guidetolerance", _wr); +// _rrb_pix.init (_("Sensitivity:"), _("S_creen pixels"), _("p_x units"), +// _("Sensitivity is always the same, regardless of zoom."), +// _("Sensitivity changes with zoom; zooming in will enlarge max. snapping distance."), +// _("inkscape:has_abs_tolerance"), _wr); Gtk::Label *label_o = manage (new Gtk::Label); label_o->set_markup (_("<b>Object Snapping</b>")); Gtk::Label *label_gr = manage (new Gtk::Label); @@ -330,19 +334,19 @@ DocumentProperties::build_snap() 0, _rcbsnnob._button, 0, _rcbsnop._button, 0, _rcbsnon._button, - 0, _rsu_sno._hbox, + 0, _rsu_sno._vbox, 0, 0, label_gr, 0, 0, _rcbsnbb._button, 0, _rcbsnnod._button, - 0, _rsu_sn._hbox, + 0, _rsu_sn._vbox, 0, 0, label_gu, 0, 0, _rcb_snpgui._button, 0, _rcb_snbgui._button, - 0, _rsu_gusn._hbox, - 0, 0, - 0, _rrb_pix._hbox, + 0, _rsu_gusn._vbox, +// 0, 0, +// 0, _rrb_pix._hbox, }; attach_all (_page_snap.table(), array, sizeof(array)); @@ -416,7 +420,7 @@ DocumentProperties::update() _rcb_snpgui.setActive (nv->snap_guide_bbox); _rcb_snbgui.setActive (nv->snap_guide_point); _rsu_gusn.setValue (nv->guidetolerance, nv->has_abs_tolerance); - _rrb_pix.setValue (true); +// _rrb_pix.setValue (true); _wr.setUpdating (false); } |
