]> git.lyx.org Git - features.git/commitdiff
* remove last traces of external thesaurus library and actually enable included MyThes.
authorJürgen Spitzmüller <spitz@lyx.org>
Sat, 9 May 2009 08:23:49 +0000 (08:23 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Sat, 9 May 2009 08:23:49 +0000 (08:23 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@29580 a592a061-630c-0410-9148-cb99ea01b6c8

src/LyXFunc.cpp
src/frontends/qt4/GuiView.cpp

index 256f136dc8ca63304a0e555334c7639bed110122..77802907b952124275fa4234c40a7d7dcf5adc1c 100644 (file)
@@ -408,9 +408,6 @@ FuncStatus LyXFunc::getStatus(FuncRequest const & cmd) const
 
        switch (cmd.action) {
        case LFUN_UNKNOWN_ACTION:
-#if !defined(HAVE_LIBMYTHES) && !defined(HAVE_LIBAIKSAURUS)
-       case LFUN_THESAURUS_ENTRY:
-#endif
                flag.unknown(true);
                flag.setEnabled(false);
                break;
index a61b3283a95b6075d11d8f430f49d6336657c30d..d5ebfbd4cc538293e00ccf42dc7964f347d90c93 100644 (file)
@@ -2414,13 +2414,8 @@ char const * const dialognames[] = {
 "float", "graphics", "include", "index", "index_print", "info", "nomenclature",
 "label", "log", "mathdelimiter", "mathmatrix", "mathspace", "note", "paragraph",
 "phantom", "prefs", "print", "ref", "sendto", "space", "spellchecker",
-"symbols", "tabular", "tabularcreate",
-
-#ifdef HAVE_LIBAIKSAURUS
-"thesaurus",
-#endif
-
-"texinfo", "toc", "href", "view-source", "vspace", "wrap", "listings", "findreplaceadv" };
+"symbols", "tabular", "tabularcreate", "thesaurus", "texinfo", "toc", "href", 
+"view-source", "vspace", "wrap", "listings", "findreplaceadv" };
 
 char const * const * const end_dialognames =
        dialognames + (sizeof(dialognames) / sizeof(char *));
@@ -2712,10 +2707,8 @@ Dialog * GuiView::build(string const & name)
                return createGuiTexInfo(*this);
        if (name == "view-source")
                return createGuiViewSource(*this);
-#ifdef HAVE_LIBAIKSAURUS
        if (name == "thesaurus")
                return createGuiThesaurus(*this);
-#endif
        if (name == "href")
                return createGuiHyperlink(*this);
        if (name == "index_print")