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/ui/dialog/inkscape-preferences.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/ui/dialog/inkscape-preferences.cpp') diff --git a/src/ui/dialog/inkscape-preferences.cpp b/src/ui/dialog/inkscape-preferences.cpp index 3119b1b3b..1584a7662 100644 --- a/src/ui/dialog/inkscape-preferences.cpp +++ b/src/ui/dialog/inkscape-preferences.cpp @@ -64,7 +64,7 @@ #include "widgets/desktop-widget.h" #include -#ifdef HAVE_ASPELL +#if HAVE_ASPELL # include # ifdef _WIN32 # include @@ -474,7 +474,7 @@ void InkscapePreferences::initPageTools() cb->init ( _("Show font samples in the drop-down list"), "/tools/text/show_sample_in_list", true); _page_text.add_line( false, "", *cb, "", _("Show font samples alongside font names in the drop-down list in Text bar")); - _font_dialog.init(_("Show font substitution inng dialog"), "/options/font/substitutedlg", false); + _font_dialog.init(_("Show font substitution warning dialog"), "/options/font/substitutedlg", false); _page_text.add_line( false, "", _font_dialog, "", _("Show font substitution warning dialog when requested fonts are not available on the system")); cb = Gtk::manage(new PrefCheckButton); @@ -2493,7 +2493,7 @@ void InkscapePreferences::onKBListKeyboardShortcuts() void InkscapePreferences::initPageSpellcheck() { -#ifdef HAVE_ASPELL +#if HAVE_ASPELL std::vector languages; std::vector langValues; -- cgit v1.2.3