+2003-06-17 Angus Leeming <leeming@lyx.org>
+
+ * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
+
2003-06-17 Angus Leeming <leeming@lyx.org>
* lfuns.h:
+2003-06-17 Angus Leeming <leeming@lyx.org>
+
+ * Dialogs.h: (showMathPanel):
+ * guiapi.[Ch] (gui_ShowMathPanel): removed.
+
2003-06-06 Alfredo Braunstein <abraunst@libero.it>
* Dialogs.[Ch] (visible): added.
void showDocument();
/// show all forked child processes
void showForks();
- /// display the top-level maths panel
- void showMathPanel();
///
void showPreamble();
///
}
-void gui_ShowMathPanel(Dialogs & d)
-{
- d.showMathPanel();
-}
-
-
void gui_ShowPreamble(Dialogs & d)
{
d.showPreamble();
void gui_ShowDocument(Dialogs &);
void gui_ShowForks(Dialogs &);
-void gui_ShowMathPanel(Dialogs &);
void gui_ShowPreamble(Dialogs &);
void gui_ShowPreferences(Dialogs &);
void gui_ShowPrint(Dialogs &);
+2003-06-17 Angus Leeming <leeming@lyx.org>
+
+ * Dialogs.C: rename math panel identifier as "mathpanel".
+ * Dialogs2.C (showMathPanel): removed.
+
2003-06-17 Angus Leeming <leeming@lyx.org>
* Dialogs.C:
char const * const dialognames[] = { "about", "bibitem", "bibtex", "changes",
"character", "citation", "error", "errorlist", "ert", "external", "file",
"float", "graphics", "include", "index", "label", "log",
-"math", "mathdelimiter", "mathmatrix",
+"mathpanel", "mathdelimiter", "mathmatrix",
"minipage", "paragraph", "ref", "tabular", "tabularcreate",
#ifdef HAVE_LIBAIKSAURUS
dialog->setController(new ControlLog(*dialog));
dialog->setView(new QLog(*dialog));
dialog->bc().bp(new OkCancelPolicy);
- } else if (name == "math") {
+ } else if (name == "mathpanel") {
dialog->setController(new ControlMath(*dialog));
dialog->setView(new QMath(*dialog));
dialog->bc().bp(new IgnorantPolicy);
{}
-void Dialogs::showMathPanel()
-{
- static DialogPtr mathdialog(build("math"));
- mathdialog->show(string());
-}
-
-
void Dialogs::showPreamble()
{
pimpl_->document.controller().show();
+2003-06-17 Angus Leeming <leeming@lyx.org>
+
+ * Dialogs.C: rename math panel identifier as "mathpanel".
+ * Dialogs2.C (showMathPanel): removed.
+
2003-06-17 Angus Leeming <leeming@lyx.org>
* Dialogs.C:
char const * const dialognames[] = { "about", "bibitem", "bibtex", "changes",
"character", "citation", "error", "errorlist" , "ert", "external", "file",
-"float", "graphics", "include", "index", "label", "log", "math",
+"float", "graphics", "include", "index", "label", "log", "mathpanel",
"mathaccents", "matharrows", "mathoperators", "mathrelations", "mathgreek",
"mathmisc", "mathdots", "mathbigoperators", "mathamsmisc",
"mathamsarrows", "mathamsrelations", "mathamsnegatedrelations", "mathamsoperators",
dialog->setView(new FormLog(*dialog));
dialog->bc().bp(new OkCancelPolicy);
- } else if (name == "math") {
+ } else if (name == "mathpanel") {
dialog->setController(new ControlMath(*dialog));
dialog->setView(new FormMathsPanel(*dialog));
dialog->bc().bp(new IgnorantPolicy);
#include <config.h>
#include "Dialogs.h"
-#include "Dialog.h"
#include "controllers/GUI.h"
#include "ButtonController.h"
}
-void Dialogs::showMathPanel()
-{
- static DialogPtr mathdialog(build("math"));
- mathdialog->show(string());
-}
-
-
void Dialogs::showPreamble()
{
pimpl_->preamble.controller().show();
break;
case LFUN_MATH_PANEL:
- owner->getDialogs().showMathPanel();
+ owner->getDialogs().show("mathpanel");
break;
case LFUN_DIALOG_SHOW:
+2003-06-17 Angus Leeming <leeming@lyx.org>
+
+ * formulabase.C (lfunMouseRelease): s/showMathPanel/show("mathpanel")/
+
2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* formulabase.C (mathDispatchCreation): fix call to cutSelection
if (mathcursor->dispatch(cmd) == UNDISPATCHED) {
// launch math panel for right mouse button
lyxerr << "lfunMouseRelease: undispatched: " << cmd.button() << endl;
- bv->owner()->getDialogs().showMathPanel();
+ bv->owner()->getDialogs().show("mathpanel");
}
return DISPATCHED;
}