mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-31 07:45:44 +00:00
John's msg.diff
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3773 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
dcebc194f4
commit
5fd04c3532
@ -3,6 +3,11 @@
|
||||
* biblio.C (getInfo): string::c_str() never returns NULL. Don't test
|
||||
for it.
|
||||
|
||||
2002-03-18 John Levon <moz@compsoc.man.ac.uk>
|
||||
|
||||
* ControlGraphics.C:
|
||||
* ControlInclude.C: better error messages
|
||||
|
||||
2002-03-11 Herbert Voss <voss@lyx.org>
|
||||
|
||||
* biblio.C (parseBibTeX): fix another minibug with an
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user