From 68eb62ca34fb936efa5bb35cddbf89f61e6912e2 Mon Sep 17 00:00:00 2001 From: Nathan Lee <2431820-nathanal@users.noreply.gitlab.com> Date: Tue, 30 Jul 2019 12:17:51 +1000 Subject: Hide spellcheck dialog if Aspell is missing Hide warnings emitted if Aspell/Potrace missing --- src/shortcuts.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/shortcuts.cpp') 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); -- cgit v1.2.3