Am 17.09.2010 um 16:49 schrieb Jean-Marc LASGOUTTES: > Stephan Witt <st.w...@gmx.net> writes: >> Very well, but currently the Mac user cannot access the LyX templates >> and examples. >> >> See ticket http://www.lyx.org/trac/ticket/6861 > > Yes, I know there is a problem. We need those buttons in native dialogs. > Would you have some time to experiment with these URLs with this QUrl > solution at least in a mac-only setting?
Yes. But that's not urgent. It can wait, since it is not a task of the installer. So it has nothing to do with beta anymore, I think. > I would create a directory somewhere and create files named > Documents -> document path > Examples -> sysdir/examples > > The name on the left should go through gettext of course. > > It may be that the simplest way is to create this directory in /tmp just > when the dialog is requested, i.e. directly in FileDialog::open and > friends. Or maybe just call setSideBarUrl directly in setButton[12] and > create the links as needed. I'll investigate later. I had a short look already... ...one has to avoid use of QFileDialog::getOpenFileName - which is currently used. So it is a little bit more work. What is it for Windows users, BTW? Don't they suffer from that too? Stephan