/**
-// * \file xforms/Dialogs.C
+// * \file gtk/Dialogs.C
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
#include "GText.h"
#include "GMathDelim.h"
#include "GBibItem.h"
-//#include "FormBibtex.h"
+#include "GBibtex.h"
#include "GBox.h"
#include "GBranch.h"
#include "GChanges.h"
#include "GDocument.h"
#include "GErrorList.h"
#include "GERT.h"
-//#include "FormExternal.h"
+#include "GExternal.h"
#include "GFloat.h"
#include "GGraphics.h"
#include "GInclude.h"
dialog->setView(new GBibItem(*dialog));
dialog->bc().bp(new OkCancelReadOnlyPolicy);
} else if (name == "bibtex") {
-// dialog->bc().view(new xformsBC(dialog->bc()));
+ dialog->bc().view(new GBC(dialog->bc()));
dialog->setController(new ControlBibtex(*dialog));
-// dialog->setView(new FormBibtex(*dialog));
+ dialog->setView(new GBibtex(*dialog));
dialog->bc().bp(new NoRepeatedApplyReadOnlyPolicy);
} else if (name == "box") {
dialog->bc().view(new GBC(dialog->bc()));
dialog->setView(new GERT(*dialog));
dialog->bc().bp(new NoRepeatedApplyReadOnlyPolicy);
} else if (name == "external") {
-// dialog->bc().view(new xformsBC(dialog->bc()));
+ dialog->bc().view(new GBC(dialog->bc()));
dialog->setController(new ControlExternal(*dialog));
-// dialog->setView(new FormExternal(*dialog));
+ dialog->setView(new GExternal(*dialog));
dialog->bc().bp(new NoRepeatedApplyReadOnlyPolicy);
} else if (name == "file") {
dialog->bc().view(new GBC(dialog->bc()));
{
// Turning off tooltips is not necessary and will
// not be implemented by me - jcs
-// Tooltips::toggleEnabled();
+ //Tooltips::toggleEnabled();
}
/// Are the tooltips on or off?
bool Dialogs::tooltipsEnabled()
{
-// return Tooltips::enabled();
+ //return Tooltips::enabled();
+ return true;
}