diff --git a/src/frontends/controllers/ChangeLog b/src/frontends/controllers/ChangeLog index f143da3ac5..5552ab8e8b 100644 --- a/src/frontends/controllers/ChangeLog +++ b/src/frontends/controllers/ChangeLog @@ -3,6 +3,11 @@ * biblio.C (getInfo): string::c_str() never returns NULL. Don't test for it. +2002-03-18 John Levon + + * ControlGraphics.C: + * ControlInclude.C: better error messages + 2002-03-11 Herbert Voss * biblio.C (parseBibTeX): fix another minibug with an diff --git a/src/frontends/controllers/ControlGraphics.C b/src/frontends/controllers/ControlGraphics.C index de90d133b5..bdca7e6229 100644 --- a/src/frontends/controllers/ControlGraphics.C +++ b/src/frontends/controllers/ControlGraphics.C @@ -81,10 +81,11 @@ void ControlGraphics::applyParamsNoInset() // We need these in the file browser. extern string system_lyxdir; extern string user_lyxdir; + string const ControlGraphics::Browse(string const & in_name) { - string const title = N_("Graphics"); + string const title = N_("Select graphics file"); // FIXME: currently we need the second '|' to prevent mis-interpretation string const pattern = "*.(ps|eps|png|jpeg|jpg|gif|gz)|"; @@ -99,6 +100,7 @@ string const ControlGraphics::Browse(string const & in_name) // Show the file browser dialog return browseFile(&lv_, in_name, title, pattern, dir1, dir2); } + string const ControlGraphics::readBB(string const & file) { diff --git a/src/frontends/controllers/ControlInclude.C b/src/frontends/controllers/ControlInclude.C index cd326cba9e..3d0806a367 100644 --- a/src/frontends/controllers/ControlInclude.C +++ b/src/frontends/controllers/ControlInclude.C @@ -89,7 +89,7 @@ bool ControlInclude::fileExists(string const & file) if (IsFileReadable(fileWithAbsPath)) return true; else - Alert::alert(_("File doesn't exists!")); + Alert::alert(_("Specified file doesn't exist !")); return false; }