summaryrefslogtreecommitdiffstats
path: root/src/shortcuts.cpp
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/shortcuts.cpp
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/shortcuts.cpp')
-rw-r--r--src/shortcuts.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/shortcuts.cpp b/src/shortcuts.cpp
index 0ec19d291..04e655ea0 100644
--- a/src/shortcuts.cpp
+++ b/src/shortcuts.cpp
@@ -670,6 +670,10 @@ static void read_shortcuts_file(char const *filename, bool const is_user_set) {
&& strcmp(verb_name, "ToolPaintBucket") != 0
&& strcmp(verb_name, "SelectionTrace") != 0
&& strcmp(verb_name, "PaintBucketPrefs") != 0
+ && strcmp(verb_name, "TutorialsTracing") != 0
+#endif
+#if !HAVE_ASPELL
+ && strcmp(verb_name, "DialogSpellcheck") != 0
#endif
) {
g_warning("Unknown verb name: %s", verb_name);