Angus Leeming wrote:

> This patch removes the test of "file name with space" from the file
> browser and places it in the input widget itself. (Qt frontend only for
> now.)
> 
> A warning is popped up the first time that an invalid file name is input.
> The "OK" button is disabled if the input is invalid.
> 
> It "feels" nice to me, but I'd value some testing. It's my view that this
> patch makes the LyX/Win port fully operational.

And here is the patch again, this time for the XForms frontend as well.

The names of files in the Exernal, Graphics and Include dialogs are 
checked in each frontend. In addition, the Qt frontend checks the names of 
the databases in the BibTeX dialog. That's not done in the XForms version 
of this dialog because it currently allows multiple databases to be input 
as a single "foo bar baz" string. It will, therefore, need a total 
overhaul if it is to allow the user to input file names with spaces, 
something which I'm not prepared to do right now.

-- 
Angus

Attachment: invalid_filenames_14x.diff.gz
Description: GNU Zip compressed data

Reply via email to