From 5fd04c35323e5ee7e4cf8a8849d3bc74e96108cd Mon Sep 17 00:00:00 2001 From: Angus Leeming Date: Tue, 19 Mar 2002 09:42:52 +0000 Subject: [PATCH] John's msg.diff git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3773 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/controllers/ChangeLog | 5 +++++ src/frontends/controllers/ControlGraphics.C | 4 +++- src/frontends/controllers/ControlInclude.C | 2 +- 3 files changed, 9 insertions(+), 2 deletions(-) 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; } -- 2.39.2