make text output of message boxes more readable

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@8775 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Georg Baum 2004-05-25 16:27:06 +00:00
parent 2c0668646a
commit 9501a5d130
2 changed files with 10 additions and 6 deletions

View File

@ -27,8 +27,8 @@ int Alert::prompt(string const & title, string const & question,
string const & b1, string const & b2, string const & b3) string const & b1, string const & b2, string const & b3)
{ {
if (!lyx_gui::use_gui || lyxerr.debugging()) { if (!lyx_gui::use_gui || lyxerr.debugging()) {
lyxerr << title lyxerr << title << '\n'
<< "----------------------------------------" << "----------------------------------------\n"
<< question << endl; << question << endl;
lyxerr << "Assuming answer is "; lyxerr << "Assuming answer is ";
@ -50,8 +50,8 @@ int Alert::prompt(string const & title, string const & question,
void Alert::warning(string const & title, string const & message) void Alert::warning(string const & title, string const & message)
{ {
if (!lyx_gui::use_gui || lyxerr.debugging()) if (!lyx_gui::use_gui || lyxerr.debugging())
lyxerr << "Warning: " << title lyxerr << "Warning: " << title << '\n'
<< "----------------------------------------" << "----------------------------------------\n"
<< message << endl; << message << endl;
if (lyx_gui::use_gui) if (lyx_gui::use_gui)
warning_pimpl(title, message); warning_pimpl(title, message);
@ -73,8 +73,8 @@ void Alert::error(string const & title, string const & message)
void Alert::information(string const & title, string const & message) void Alert::information(string const & title, string const & message)
{ {
if (!lyx_gui::use_gui || lyxerr.debugging()) if (!lyx_gui::use_gui || lyxerr.debugging())
lyxerr << title lyxerr << title << '\n'
<< "----------------------------------------" << "----------------------------------------\n"
<< message << endl; << message << endl;
if (lyx_gui::use_gui) if (lyx_gui::use_gui)

View File

@ -1,3 +1,7 @@
2004-05-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
* Alert.C: make text output more readable
2004-05-19 Angus Leeming <leeming@lyx.org> 2004-05-19 Angus Leeming <leeming@lyx.org>
* Dialogs.[Ch]: * Dialogs.[Ch]: