summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f10eb2c)
raw | patch | inline | side by side (parent: f10eb2c)
author | dvlierop2 <dvlierop2@users.sourceforge.net> | |
Tue, 4 Dec 2007 19:35:06 +0000 (19:35 +0000) | ||
committer | dvlierop2 <dvlierop2@users.sourceforge.net> | |
Tue, 4 Dec 2007 19:35:06 +0000 (19:35 +0000) |
src/ui/dialog/document-properties.cpp | patch | blob | history | |
src/ui/dialog/document-properties.h | patch | blob | history |
index a3e9d6eea745542ae1bf1a309c04633eda23ce8a..aa608703ad01bc58ed8bffb39d2194cf6c79afbc 100644 (file)
_notebook.append_page(_page_guides, _("Guides"));
_notebook.append_page(_grids_vbox, _("Grids"));
_notebook.append_page(_page_snap, _("Snap"));
- _notebook.append_page(_page_snap_dtls, _("Snap details"));
+ _notebook.append_page(_page_snap_dtls, _("Snap points"));
build_page();
build_guides();
_rcp_hgui.init (_("_Highlight color:"), _("Highlighted guideline color"),
_("Color of a guideline when it is under mouse"),
"guidehicolor", "guidehiopacity", _wr);
+
+ _rcbsng.init (_("_Snap guides while dragging"),
+ _("While dragging a guide, snap to object nodes or bounding box corners ('Nodes' or 'Bounding box corners' must be enabled in the 'Snap' tab)"),
+ "inkscape:snap-guide", _wr);
+
Gtk::Label *label_gui = manage (new Gtk::Label);
label_gui->set_markup (_("<b>Guides</b>"));
0, _rcb_sgui._button,
_rcp_gui._label, _rcp_gui._cp,
_rcp_hgui._label, _rcp_hgui._cp,
+ 0, _rcbsng._button,
};
attach_all(_page_guides.table(), widget_array, G_N_ELEMENTS(widget_array));
_rcbsils.init (_("_Line segments"),
_("Snap to intersections of line segments ('snap to paths' must be enabled, see the previous tab)"),
"inkscape:snap-intersection-line-segments", _wr);
-
- _rcbsng.init (_("_Snap guides while dragging"),
- _("While dragging a guide, snap to object nodes or bounding box corners ('snap to nodes' or 'snap to bounding box corners', both on the previous tab, must be enabled)"),
- "inkscape:snap-guide", _wr);
-
+
//Applies to both nodes and guides, but not to bboxes, that's why its located here
_rcbic.init (_("_Include the object's rotation center"),
_("Also snap the rotation center of an object when snapping nodes or guides"),
0, _rcbsils._button,
0, 0,
label_m, 0,
- 0, _rcbsng._button,
0, _rcbic._button,
};
index 3b7e4bb070f2b49b30352c68a09c6afa359d2ed4..e80978ccc8c73e336afb2a5ebaaf6d107b089355 100644 (file)
RegisteredCheckButton _rcbgrid;
RegisteredUnitMenu _rums;
//---------------------------------------------------------------
- RegisteredCheckButton _rcb_sgui;
+ RegisteredCheckButton _rcb_sgui, _rcbsng;
RegisteredUnitMenu _rum_gusn;
RegisteredColorPicker _rcp_gui, _rcp_hgui;
//---------------------------------------------------------------
ToleranceSlider _rsu_sno, _rsu_sn, _rsu_gusn;
RegisteredRadioButtonPair _rrb_pix;
//---------------------------------------------------------------
- RegisteredCheckButton _rcbic, _rcbsng;
+ RegisteredCheckButton _rcbic;
RegisteredCheckButton _rcbsigg, _rcbsils;
//---------------------------------------------------------------
Gtk::Notebook _grids_notebook;