>>>>> "Ronald" == Ronald Florence <[EMAIL PROTECTED]> writes:
Ronald> In LyX/Mac, the External insets use the familiar native system Ronald> Finder. Would it be possible to use the system file browser Ronald> for the File->Open dialog as well? This would make the Ronald> application much more Mac-like. (The windows-pc style browser Ronald> used in the File->Open dialog is unfamiliar and off-putting to Ronald> Mac users.) The only difference that I can see is that the External inset file dialog uses only one special button (Documents), while others probably define several. My conjecture is that Qt/Mac uses the normal Mac dialog when there is one extra button (but where does it put it??) and switches to the other one when it has to add more of them. If my guess is right, then the following patch should make a difference. JMarc
Index: src/frontends/qt2/FileDialog_private.C =================================================================== RCS file: /usr/local/lyx/cvsroot/lyx-devel/src/frontends/qt2/FileDialog_private.C,v retrieving revision 1.16 diff -u -p -r1.16 FileDialog_private.C --- src/frontends/qt2/FileDialog_private.C 17 Dec 2002 20:37:10 -0000 1.16 +++ src/frontends/qt2/FileDialog_private.C 24 Feb 2004 16:59:29 -0000 @@ -63,6 +63,7 @@ LyXFileDialog::LyXFileDialog(string cons addToolButton(b1_, true); } +#ifndef Q_WS_MAC if (!b2.first.empty()) { b2_dir_ = b2.second; b2_ = new QToolButton(this); @@ -70,6 +71,7 @@ LyXFileDialog::LyXFileDialog(string cons b2_->setText(toqstr(getLabel(b2.first))); addToolButton(b2_); } +#endif }