summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9665c54)
raw | patch | inline | side by side (parent: 9665c54)
author | dvlierop2 <dvlierop2@users.sourceforge.net> | |
Mon, 17 Dec 2007 21:54:20 +0000 (21:54 +0000) | ||
committer | dvlierop2 <dvlierop2@users.sourceforge.net> | |
Mon, 17 Dec 2007 21:54:20 +0000 (21:54 +0000) |
src/ui/dialog/document-properties.cpp | patch | blob | history | |
src/ui/widget/tolerance-slider.cpp | patch | blob | history |
index 4fc01cc8f7482cd22cfdc7fdce8fd41af8e802c6..70e6a9ecc43aafc728da0d74066236207f50c036 100644 (file)
_page_snap.show();
//General options
_rcbsg.init (_("Enable snapping"),
- _("When disabled, nothing will snap"),
+ _("Toggle snapping on or off"),
"inkscape:snap-global", _wr);
_rcbsnbb.init (_("_Bounding box corners"),
_("Snap bounding box corners to grid lines, to guides, and to other bounding boxes (Snapping of bounding boxes is only available in the selector tool)"),
_("Snap bounding box corners and guides to bounding box edges"),
"inkscape:bbox-paths", _wr);
- _rsu_sno.init (_("Snap _distance"), _("Snap at any d_istance"),
+ _rsu_sno.init (_("Snap _distance"), _("Snap at specified d_istance"),
_("Snapping distance, in screen pixels, for snapping to objects"),
- _("If set, objects snap to the nearest object, regardless of distance"),
+ _("If set, objects only snap to another object when it's within the range specified below"),
"objecttolerance", _wr);
//Options for snapping to grids
- _rsu_sn.init (_("Snap di_stance"), _("Snap at any dis_tance"),
+ _rsu_sn.init (_("Snap di_stance"), _("Snap at specified dis_tance"),
_("Snapping distance, in screen pixels, for snapping to grid"),
- _("If set, objects snap to the nearest grid line, regardless of distance"),
+ _("If set, objects only snap to a grid line when it's within the range specified below"),
"gridtolerance", _wr);
//Options for snapping to guides
- _rsu_gusn.init (_("Snap dist_ance"), _("Snap at any distan_ce"),
+ _rsu_gusn.init (_("Snap dist_ance"), _("Snap at specified distan_ce"),
_("Snapping distance, in screen pixels, for snapping to guides"),
- _("If set, objects snap to the nearest guide, regardless of distance"),
+ _("If set, objects only snap to a guide when it's within the range specified below"),
"guidetolerance", _wr);
//Other options to locate here: e.g. visual snapping indicators on/off
_rcbsg.setSlaveButton(slaves);
Gtk::Label *label_g = manage (new Gtk::Label);
- label_g->set_markup (_("<b>Global snapping toggle</b>"));
+ label_g->set_markup (_("<b>Snapping</b>"));
Gtk::Label *label_w = manage (new Gtk::Label);
label_w->set_markup (_("<b>What snaps</b>"));
Gtk::Label *label_o = manage (new Gtk::Label);
index d89d4cf5c858299a47f1bcfe7afa7985060ae00a..4db82d88008872de509a0d1585d00eb7f7302214 100644 (file)
if (val > 9999.9) // magic value 10000.0
{
- _button->set_active (true);
+ _button->set_active (false);
_hbox->set_sensitive (false);
val = 50.0;
}
else
{
- _button->set_active (false);
+ _button->set_active (true);
_hbox->set_sensitive (true);
}
_hscale->set_value (val);
void
ToleranceSlider::on_toggled()
{
- if (_button->get_active())
+ if (!_button->get_active())
{
_old_val = _hscale->get_value();
_hbox->set_sensitive (false);