Am 13.06.2011 um 14:04 schrieb BH:

> On Mon, Jun 13, 2011 at 7:20 AM, Stephan Witt <st.w...@gmx.net> wrote:
>> Am 13.06.2011 um 12:21 schrieb Anders Ekberg:
>> 
>>> On 2011-06-13 11.55, "Stephan Witt" <st.w...@gmx.net> wrote:
>>> 
>>>> Am 12.06.2011 um 09:13 schrieb Anders Ekberg:
>>>> 
>>>>> On 2011-06-12 02.36, "Uwe Stöhr" <uwesto...@web.de> wrote:
>>>>> 
>>>>>> Am 11.06.2011 20:48, schrieb William Harter:
>>>>>> 
>>>>>>> Help, please!
>>>>>>> Just following tutorial after downloading Lyx to I-Mac OS 10.6. Having
>>>>>>> show-stopping problems with tutorial document involving template
>>>>>>> issues.
>>>>>>> 
>>>>>>> 1. Attempting to follow instruction:
>>>>>>> 
>>>>>>> Open a new file with File->New from Template. Select letter.lyx
>>>>>>> 
>>>>>>> Result: Empty template folder.
>>>>>> 
>>>>>> Then our MacOS X package for LyX is broken. You must at least be able
>>>>>> to
>>>>>> see the template files that
>>>>>> come with LyX.
>>>>> 
>>>>> The Templates are now in the LyX application bundle ( under
>>>>> Contents/Resources/templates ).
>>>>> As a temporary work-around you can copy them from there to
>>>>> ~/Library/Application Support/LyX/templates
>>>>> But this should be fixed.
>>>> 
>>>> Yes. See ticket: http://www.lyx.org/trac/ticket/6861
>>>> 
>>>> I tried to find a API to add a link to the finder left bar of the native
>>>> file open dialog.
>>>> The LyX way of doing this with Qt's own dialog was to add a sidebar url
>>>> to the open dialogs -
>>>> but this isn't a good solution either, the Qt-version of the file open
>>>> dialog is far too
>>>> Mac-agnostic.
>>>> 
>>>> One possible workaround would be to copy the files example and template
>>>> files to
>>>> ~/Library/Application Support/LyX with reconfigure when missing. But as
>>>> mentioned
>>>> in ticket #6861 this is debatable behavior too.
>>> 
>>> Though admittedly not perfect it at least has the benefit of actually
>>> working ;-)
>>> So since the current status is that no templates can be found (if the user
>>> is not used to fiddle around in application bundles) and the open dialogue
>>> points to this folder, would it not be a reasonable solution until
>>> something better is found?
>> 
>> Yes, I cannot come up with a better one currently.
>> 
>> But I don't like to make this platform specific. At least on Windows the 
>> native
>> File Open dialog is used too and the very same problem exists for the 
>> examples.
>> And for Linux desktop I saw the request to use the native dialog too already.
>> 
>> BTW, do you know or can ask anyone if any API to modify Finders sidebar 
>> links is available?
> 
> I'm likely wrong here, but have you looked into accessory views?
> 
> http://developer.apple.com/library/mac/#documentation/Cocoa/Conceptual/AppFileMgmt/Articles/ManagingAccessoryViews.html

I'd say it is about the additional checkbox "Add to project" and doesn't refer 
to the side bar.
I've read the complete documentation for NSOpenPanel and couldn't find what I 
was looking for.

Stephan

Reply via email to