mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 08:28:25 +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
|
* biblio.C (getInfo): string::c_str() never returns NULL. Don't test
|
||||||
for it.
|
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>
|
2002-03-11 Herbert Voss <voss@lyx.org>
|
||||||
|
|
||||||
* biblio.C (parseBibTeX): fix another minibug with an
|
* biblio.C (parseBibTeX): fix another minibug with an
|
||||||
|
@ -81,10 +81,11 @@ void ControlGraphics::applyParamsNoInset()
|
|||||||
// We need these in the file browser.
|
// We need these in the file browser.
|
||||||
extern string system_lyxdir;
|
extern string system_lyxdir;
|
||||||
extern string user_lyxdir;
|
extern string user_lyxdir;
|
||||||
|
|
||||||
|
|
||||||
string const ControlGraphics::Browse(string const & in_name)
|
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
|
// FIXME: currently we need the second '|' to prevent mis-interpretation
|
||||||
string const pattern = "*.(ps|eps|png|jpeg|jpg|gif|gz)|";
|
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
|
// Show the file browser dialog
|
||||||
return browseFile(&lv_, in_name, title, pattern, dir1, dir2);
|
return browseFile(&lv_, in_name, title, pattern, dir1, dir2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
string const ControlGraphics::readBB(string const & file)
|
string const ControlGraphics::readBB(string const & file)
|
||||||
{
|
{
|
||||||
|
@ -89,7 +89,7 @@ bool ControlInclude::fileExists(string const & file)
|
|||||||
if (IsFileReadable(fileWithAbsPath))
|
if (IsFileReadable(fileWithAbsPath))
|
||||||
return true;
|
return true;
|
||||||
else
|
else
|
||||||
Alert::alert(_("File doesn't exists!"));
|
Alert::alert(_("Specified file doesn't exist !"));
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user