add gtk thesaurus dialog from Bernhard Reiter

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10554 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2005-10-14 15:58:29 +00:00
parent 4341a88656
commit e9b54d910b
4 changed files with 13 additions and 3 deletions

View File

@ -1,3 +1,10 @@
2005-10-12 Bernhard Reiter <ockham@gmx.net>
* The Thesaurus dialog
* GThesaurus.C, GThesaurus.h, Makefile.am
* Dialogs.C: moved BC generation to individual if blocks
* glade/thesaurus.glade, glade/Makefile.am
2005-10-02 Martin Vermeer <martin.vermeer@hut.fi>
* GToc.C: fix bug 2038

View File

@ -100,7 +100,7 @@
#ifdef HAVE_LIBAIKSAURUS
#include "ControlThesaurus.h"
#include "FormThesaurus.h"
#include "GThesaurus.h"
#endif
#include "xformsBC.h"
@ -520,8 +520,9 @@ Dialogs::DialogPtr Dialogs::build(string const & name)
dialog->bc().bp(new OkCancelPolicy);
#ifdef HAVE_LIBAIKSAURUS
} else if (name == "thesaurus") {
dialog->bc().view(new GBC(dialog->bc()));
dialog->setController(new ControlThesaurus(*dialog));
dialog->setView(new FormThesaurus(*dialog));
dialog->setView(new GThesaurus(*dialog));
dialog->bc().bp(new OkApplyCancelReadOnlyPolicy);
#endif
} else if (name == "toc") {

View File

@ -89,6 +89,8 @@ libgtk_la_SOURCES = \
GTexinfo.h \
GText.C \
GText.h \
GThesaurus.C \
GThesaurus.h \
GTimeout.C \
GTimeout.h \
GToc.C \
@ -148,7 +150,6 @@ xforms_objects = \
../xforms/forms_gettext.lo \
../xforms/FormTabular.lo \
../xforms/FormText.lo \
../xforms/FormThesaurus.lo \
../xforms/FormWrap.lo \
../xforms/freebrowser.lo \
../xforms/input_validators.lo \

View File

@ -29,6 +29,7 @@ dist_glade_DATA = \
tableCreate.glade \
texinfo.glade \
text.glade \
thesaurus.glade \
toc.glade \
url.glade \
vspace.glade