mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
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:
parent
2c0668646a
commit
9501a5d130
@ -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)
|
||||||
|
@ -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]:
|
||||||
|
Loading…
Reference in New Issue
Block a user