]> git.lyx.org Git - lyx.git/blobdiff - src/lyxfunc.C
next step...
[lyx.git] / src / lyxfunc.C
index d1df3e1b24dc86d4e49ae36ad81360105c85fff4..3ac2af1e92a285e7246df6d0efb82faf96e08ac3 100644 (file)
@@ -104,7 +104,6 @@ using std::find_if;
 
 extern BufferList bufferlist;
 extern LyXServer * lyxserver;
-extern int greek_kb_flag;
 extern bool selection_possible;
 extern void MenuSendto();
 
@@ -427,6 +426,11 @@ func_status::value_type LyXFunc::getStatus(int ac,
        case LFUN_SPELLCHECK:
                disable = lyxrc.isp_command == "none";
                break;
+#ifndef HAVE_LIBAIKSAURUS
+       case LFUN_THESAURUS_ENTRY:
+               disable = true;
+               break;
+#endif
        case LFUN_RUNCHKTEX:
                disable = lyxrc.chktex_command == "none";
                break;
@@ -1202,6 +1206,10 @@ string const LyXFunc::dispatch(int ac,
                owner->getDialogs()->showAboutlyx();
                break;
 
+       case LFUN_HELP_TEXINFO:
+               owner->getDialogs()->showTexinfo();
+               break;
+
         case LFUN_HELP_OPEN:
        {
                string const arg = argument;