Re: [uPATCH] Fix New from template-Cancel

2000-10-19 Thread Juergen Vigna
On 18-Oct-2000 John Levon wrote: see applied Applied! Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web:

Re: [uPATCH] Fix New from template->Cancel

2000-10-19 Thread Juergen Vigna
On 18-Oct-2000 John Levon wrote: > > see applied Applied! Jürgen -- -._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._ Dr. Jürgen VignaE-Mail: [EMAIL PROTECTED] Italienallee 13/N Tel/Fax: +39-0471-450260 / +39-0471-450253 I-39100 Bozen Web:

[uPATCH] Fix New from template-Cancel

2000-10-18 Thread John Levon
doesn't ignore me now ;) thanks john -- "Mathemeticians stand on each other's shoulders while computer scientists stand on each other's toes." - Richard Hamming diff -u -r1.621 ChangeLog --- ChangeLog 2000/10/18 14:07:28 1.621 +++ ChangeLog 2000/10/18 17:41:33 @@ -1,0

Re: [uPATCH] Fix New from template-Cancel

2000-10-18 Thread Lars Gullik Bjønnes
John Levon [EMAIL PROTECTED] writes: | fname = fileDlg.Select(_("Choose template"), | lyxrc.template_path, | "*.lyx"); | -templname = fname; | AllowInput(owner-view()); | +

Re: [uPATCH] Fix New from template-Cancel

2000-10-18 Thread John Levon
On 18 Oct 2000, Lars Gullik Bjønnes wrote: fname is a string so you should use: if (fname.empty()) return; thanks. it is better to use empty() because it avoids the implicit srting("") ctor in the conversion right ? see applied john -- "Mathemeticians stand on

Re: [uPATCH] Fix New from template-Cancel

2000-10-18 Thread John Levon
On Wed, 18 Oct 2000, John Levon wrote: thanks. it is better to use empty() because it avoids the implicit srting("") ctor in the conversion right ? s/srting/string/ see applied s/applied/attached/ I need some sleep/caffiene ... john -- "Mathemeticians stand on each other's shoulders

Re: [uPATCH] Fix New from template-Cancel

2000-10-18 Thread Lars Gullik Bjønnes
John Levon [EMAIL PROTECTED] writes: | On 18 Oct 2000, Lars Gullik Bjønnes wrote: | | fname is a string so you should use: | | if (fname.empty()) | return; | | thanks. it is better to use empty() because it avoids the implicit | srting("") ctor in the conversion

[uPATCH] Fix New from template->Cancel

2000-10-18 Thread John Levon
doesn't ignore me now ;) thanks john -- "Mathemeticians stand on each other's shoulders while computer scientists stand on each other's toes." - Richard Hamming diff -u -r1.621 ChangeLog --- ChangeLog 2000/10/18 14:07:28 1.621 +++ ChangeLog 2000/10/18 17:41:33 @@ -1,0

Re: [uPATCH] Fix New from template->Cancel

2000-10-18 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | fname = fileDlg.Select(_("Choose template"), | lyxrc.template_path, | "*.lyx"); | -templname = fname; | AllowInput(owner->view()); | +

Re: [uPATCH] Fix New from template->Cancel

2000-10-18 Thread John Levon
On 18 Oct 2000, Lars Gullik Bjønnes wrote: > fname is a string so you should use: > > if (fname.empty()) > return; thanks. it is better to use empty() because it avoids the implicit srting("") ctor in the conversion right ? see applied john -- "Mathemeticians stand

Re: [uPATCH] Fix New from template->Cancel

2000-10-18 Thread John Levon
On Wed, 18 Oct 2000, John Levon wrote: > thanks. it is better to use empty() because it avoids the implicit > srting("") ctor in the conversion right ? > s/srting/string/ > see applied s/applied/attached/ I need some sleep/caffiene ... john -- "Mathemeticians stand on each other's

Re: [uPATCH] Fix New from template->Cancel

2000-10-18 Thread Lars Gullik Bjønnes
John Levon <[EMAIL PROTECTED]> writes: | On 18 Oct 2000, Lars Gullik Bjønnes wrote: | | > fname is a string so you should use: | > | > if (fname.empty()) | > return; | | thanks. it is better to use empty() because it avoids the implicit | srting("") ctor in the