summaryrefslogtreecommitdiffstats
path: root/src/verbs.h
diff options
context:
space:
mode:
authorNathan Lee <2431820-nathanal@users.noreply.gitlab.com>2019-07-30 02:17:51 +0000
committerNathan Lee <2431820-nathanal@users.noreply.gitlab.com>2019-07-31 23:59:31 +0000
commit68eb62ca34fb936efa5bb35cddbf89f61e6912e2 (patch)
treeba3d5125626638b7e1a247e72134fafc4c0fb76c /src/verbs.h
parentIf potrace unavailable, hide from the context menu (diff)
downloadinkscape-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.h8
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,