Squash bug 1590 by removing "error" from the list of dialog identifiers.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8738 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Angus Leeming 2004-05-04 18:39:41 +00:00
parent 0ed969c0d0
commit a5e44ab543
6 changed files with 24 additions and 12 deletions

View File

@ -1,3 +1,7 @@
2004-05-04 Angus Leeming <leeming@lyx.org>
* Dialogs.C: Remove "error" dialog identifier.
2004-04-28 Angus Leeming <leeming@lyx.org>
* GToolbar.[Ch]: rewrite code to derive from a single Toolbar or

View File

@ -131,7 +131,7 @@ FormMathsBitmap * createFormBitmap(Dialog & parent, string const & title,
char const * const dialognames[] = {
"aboutlyx", "bibitem", "bibtex", "box", "branch", "changes", "character",
"citation", "document", "error", "errorlist" , "ert", "external", "file",
"citation", "document", "errorlist" , "ert", "external", "file",
"findreplace", "float", "graphics", "include", "index", "label", "log",
"mathpanel", "mathaccents", "matharrows", "mathoperators", "mathrelations",
"mathgreek", "mathmisc", "mathdots", "mathbigoperators", "mathamsmisc",
@ -192,14 +192,14 @@ Dialogs::DialogPtr Dialogs::build(string const & name)
dialog->setController(new ControlBox(*dialog));
dialog->setView(new FormBox(*dialog));
dialog->bc().bp(new OkApplyCancelReadOnlyPolicy);
} else if (name == "character") {
dialog->setController(new ControlCharacter(*dialog));
dialog->setView(new FormCharacter(*dialog));
dialog->bc().bp(new OkApplyCancelReadOnlyPolicy);
} else if (name == "changes") {
dialog->setController(new ControlChanges(*dialog));
dialog->setView(new FormChanges(*dialog));
dialog->bc().bp(new NoRepeatedApplyReadOnlyPolicy);
} else if (name == "character") {
dialog->setController(new ControlCharacter(*dialog));
dialog->setView(new FormCharacter(*dialog));
dialog->bc().bp(new OkApplyCancelReadOnlyPolicy);
} else if (name == "citation") {
dialog->setController(new ControlCitation(*dialog));
dialog->setView(new FormCitation(*dialog));

View File

@ -1,3 +1,7 @@
2004-05-04 Angus Leeming <leeming@lyx.org>
* Dialogs.C: Remove "error" dialog identifier.
2004-05-02 Angus Leeming <leeming@lyx.org>
* QLImage.[Ch]: store and use QImage rather than QPixmap. Saves

View File

@ -100,7 +100,7 @@ namespace {
char const * const dialognames[] = {
"aboutlyx", "bibitem", "bibtex", "box", "branch", "changes", "character",
"citation", "document", "error", "errorlist", "ert", "external", "file",
"citation", "document", "errorlist", "ert", "external", "file",
"findreplace", "float", "graphics", "include", "index", "label", "log",
"mathpanel", "mathdelimiter", "mathmatrix", "note", "paragraph", "preamble",
"prefs", "print", "ref", "sendto", "spellchecker","tabular", "tabularcreate",

View File

@ -1,8 +1,12 @@
2004-05-04 Angus Leeming <leeming@lyx.org>
* Dialogs.C: Remove "error" dialog identifier.
2004-05-04 Angus Leeming <leeming@lyx.org>
This is a resurrection of John Levon's June 2002 code.
* xscreen.C (expose): do the 'right thing' and ouput an XEvent
* xscreen.C (expose): do the 'right thing' and output an XEvent
request to expose the work area.
* XWorkArea.C (updateGeometry, paint): split the old redraw function

View File

@ -127,7 +127,7 @@ FormMathsBitmap * createFormBitmap(Dialog & parent, string const & title,
char const * const dialognames[] = {
"aboutlyx", "bibitem", "bibtex", "box", "branch", "changes", "character",
"citation", "document", "error", "errorlist" , "ert", "external", "file",
"citation", "document", "errorlist" , "ert", "external", "file",
"findreplace", "float", "graphics", "include", "index", "label", "log",
"mathpanel", "mathaccents", "matharrows", "mathoperators", "mathrelations",
"mathgreek", "mathmisc", "mathdots", "mathbigoperators", "mathamsmisc",
@ -191,14 +191,14 @@ Dialogs::DialogPtr Dialogs::build(string const & name)
dialog->setController(new ControlBranch(*dialog));
dialog->setView(new FormBranch(*dialog));
dialog->bc().bp(new OkApplyCancelReadOnlyPolicy);
} else if (name == "character") {
dialog->setController(new ControlCharacter(*dialog));
dialog->setView(new FormCharacter(*dialog));
dialog->bc().bp(new OkApplyCancelReadOnlyPolicy);
} else if (name == "changes") {
dialog->setController(new ControlChanges(*dialog));
dialog->setView(new FormChanges(*dialog));
dialog->bc().bp(new NoRepeatedApplyReadOnlyPolicy);
} else if (name == "character") {
dialog->setController(new ControlCharacter(*dialog));
dialog->setView(new FormCharacter(*dialog));
dialog->bc().bp(new OkApplyCancelReadOnlyPolicy);
} else if (name == "citation") {
dialog->setController(new ControlCitation(*dialog));
dialog->setView(new FormCitation(*dialog));