John Levon wrote:
> the filter we put in the dialog looks odd ... do we need the duplicate
> information ? I forget what it was supposed to do

No, the information lefthand of the "|" is for xforms, the right one for qt. 
Xforms seems to cut the string on the "|", e.g. "*.(tex|lyx)| LaTeX/LyX 
Documents (*.tex *.lyx)" appears as ".(tex|lyx)" in the xforms dialog. 
Perhaps we can do something similar for qt, i.e., only use the part right 
from "|"?

> > The same is still broken for insert->ASCII (as lines|as paragraphs).
>
> chance of a patch ? :)

OK, a quick one ;-)

Thanks,
J�rgen.

> regards
> john
Index: src/frontends/qt2/ChangeLog
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/frontends/qt2/ChangeLog,v
retrieving revision 1.287
diff -u -r1.287 ChangeLog
--- src/frontends/qt2/ChangeLog	2002/11/15 06:32:13	1.287
+++ src/frontends/qt2/ChangeLog	2002/11/15 09:35:33
@@ -1,3 +1,7 @@
+2002-11-15  Juergen Spitzmueller  <[EMAIL PROTECTED]>
+
+	* FileDialog.C: fix empty mask string
+
 2002-11-15  John Levon  <[EMAIL PROTECTED]>

 	* QPrefs.h:
Index: src/frontends/qt2/FileDialog.C
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/frontends/qt2/FileDialog.C,v
retrieving revision 1.8
diff -u -r1.8 FileDialog.C
--- src/frontends/qt2/FileDialog.C	2002/10/20 01:48:27	1.8
+++ src/frontends/qt2/FileDialog.C	2002/11/15 09:35:33
@@ -57,7 +57,7 @@
 {
 	string filter(mask);
 	if (mask.empty())
-		filter = _("*|All files");
+		filter = _("All files (*)");
 
 	LyXFileDialog dlg(path, filter, title_, private_->b1, private_->b2);
 	lyxerr[Debug::GUI] << "Select with path \"" << path

Reply via email to