diff options
| author | Johan B. C. Engelen <jbc.engelen@swissonline.ch> | 2006-10-03 22:50:05 +0000 |
|---|---|---|
| committer | johanengelen <johanengelen@users.sourceforge.net> | 2006-10-03 22:50:05 +0000 |
| commit | 0d842700192a53db4719a349fa4039d18c69e986 (patch) | |
| tree | 3e918b51f315d0feb4841672287230ff1c148185 /src | |
| parent | fix bug #1568462 boolean operation remove mask/clip-path (diff) | |
| download | inkscape-0d842700192a53db4719a349fa4039d18c69e986.tar.gz inkscape-0d842700192a53db4719a349fa4039d18c69e986.zip | |
Added preferences.xml option to show the widgets to get the axonometric grid. Add <group id="documentoptions" axonomgrid_enabled="1" /> to preferences.xml to enable it.
(bzr r1762)
Diffstat (limited to 'src')
| -rw-r--r-- | src/ui/dialog/document-properties.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ui/dialog/document-properties.cpp b/src/ui/dialog/document-properties.cpp index ae856cdc5..07598d516 100644 --- a/src/ui/dialog/document-properties.cpp +++ b/src/ui/dialog/document-properties.cpp @@ -27,6 +27,7 @@ #include "xml/node-event-vector.h" #include "helper/units.h" +#include "prefs-utils.h" #include "inkscape.h" #include "verbs.h" @@ -124,6 +125,12 @@ DocumentProperties::init() G_CALLBACK(on_deactivate_desktop), 0); show_all_children(); + if (prefs_get_int_attribute("dialogs.documentoptions", "axonomgrid_enabled", 0) != 1) { + _rrb_gridtype._hbox->hide(); + _rsu_ax.getSU()->hide(); + _rsu_az.getSU()->hide(); + } + present(); } |
