diff options
| author | Nathan Lee <2431820-nathanal@users.noreply.gitlab.com> | 2019-07-30 02:17:51 +0000 |
|---|---|---|
| committer | Nathan Lee <2431820-nathanal@users.noreply.gitlab.com> | 2019-07-31 23:59:31 +0000 |
| commit | 68eb62ca34fb936efa5bb35cddbf89f61e6912e2 (patch) | |
| tree | ba3d5125626638b7e1a247e72134fafc4c0fb76c /src/verbs.h | |
| parent | If potrace unavailable, hide from the context menu (diff) | |
| download | inkscape-68eb62ca34fb936efa5bb35cddbf89f61e6912e2.tar.gz inkscape-68eb62ca34fb936efa5bb35cddbf89f61e6912e2.zip | |
Hide spellcheck dialog if Aspell is missing
Hide warnings emitted if Aspell/Potrace missing
Diffstat (limited to 'src/verbs.h')
| -rw-r--r-- | src/verbs.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/verbs.h b/src/verbs.h index d3a63320c..d70a3dbfd 100644 --- a/src/verbs.h +++ b/src/verbs.h @@ -13,6 +13,10 @@ * Released under GNU GPL v2+, read the file 'COPYING' for more information. */ +#ifdef HAVE_CONFIG_H +# include "config.h" // only include where actually required! +#endif + #include <cstring> #include <string> #include <glibmm/ustring.h> @@ -324,7 +328,11 @@ enum { SP_VERB_DIALOG_XML_EDITOR, SP_VERB_DIALOG_SELECTORS, SP_VERB_DIALOG_FIND, + +#if HAVE_ASPELL SP_VERB_DIALOG_SPELLCHECK, +#endif + SP_VERB_DIALOG_DEBUG, SP_VERB_DIALOG_TOGGLE, SP_VERB_DIALOG_CLONETILER, |
