+2005-05-04 Angus Leeming <leeming@lyx.org>
+
+ * lyxfunc.C (getStatus): disable the spell checker dialog if
+ none of USE_[AIP]SPELL are defined.
+
2005-05-05 Martin Vermeer <martin.vermeer@hut.fi>
* tabular.C (setWidthOfCell): remove obsolete comment
2005-05-04 Angus Leeming <leeming@lyx.org>
+ * QPrefsDialog.C (QPrefsDialog): disable the spellCommandCO if
+ USE_ISPELL is not defined.
+
* ui/Makefile.am (CLEANFILES): add *Module.h and *Dialog.h.
2005-05-02 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
connect(pathsModule->tempDirED, SIGNAL(textChanged(const QString&)), this, SLOT(change_adaptor()));
connect(pathsModule->lyxserverDirED, SIGNAL(textChanged(const QString&)), this, SLOT(change_adaptor()));
connect(pathsModule->pathPrefixED, SIGNAL(textChanged(const QString&)), this, SLOT(change_adaptor()));
+#if defined (USE_ISPELL)
connect(spellcheckerModule->spellCommandCO, SIGNAL(activated(int)), this, SLOT(change_adaptor()));
+#else
+ spellcheckerModule->spellCommandCO->setEnabled(false);
+#endif
connect(spellcheckerModule->altLanguageED, SIGNAL(textChanged(const QString&)), this, SLOT(change_adaptor()));
connect(spellcheckerModule->escapeCharactersED, SIGNAL(textChanged(const QString&)), this, SLOT(change_adaptor()));
connect(spellcheckerModule->persDictionaryED, SIGNAL(textChanged(const QString&)), this, SLOT(change_adaptor()));
+2005-05-04 Angus Leeming <leeming@lyx.org>
+
+ * FormPreferences.C (SpellOptions::build): disable the
+ choice_spell_command if USE_ISPELL is not defined.
+
2005-05-04 Michael Schmitt <michael.schmitt@teststep.org>
* forms/form_preferences.fd: fix capitalization.
fl_set_input_return(dialog_->input_escape_chars, FL_RETURN_CHANGED);
fl_set_input_return(dialog_->input_personal_dict, FL_RETURN_CHANGED);
+#if !defined (USE_ISPELL)
+ setEnabled(dialog_->choice_spell_command, false);
+#endif
+
// set up the feedback mechanism
setPrehandler(dialog_->choice_spell_command);
setPrehandler(dialog_->check_alt_lang);
#include "support/path.h"
#include "support/systemcall.h"
-#ifdef _WIN32
+#if !defined (HAVE_FORK)
# define fork() -1
#endif
&& lyxrc.print_command != "none";
else if (name == "character" || name == "mathpanel")
enable = cur.inset().lyxCode() != InsetBase::ERT_CODE;
- else if (name == "vclog")
- enable = buf->lyxvc().inUse();
else if (name == "latexlog")
enable = IsFileReadable(buf->getLogName().second);
+#if !defined (USE_ASPELL) && !defined (USE_ISPELL) && !defined (USE_PSPELL)
+ else if (name == "spellchecker")
+ enable = false;
+#endif
+ else if (name == "vclog")
+ enable = buf->lyxvc().inUse();
break;
}