Re: [NSWindow title] isn't the title

2010-04-22 Thread Reinhard Segeler
Hi, you can use "lastPathComponent" on the string you received by "title" and use that as the "title" for the other window. Am 22.04.2010 um 07:05 schrieb Quincey Morris: This is more of a curiosity than anything else, but ... I have a (non-document) window whose title is set with 'setTi

[NSWindow title] isn't the title

2010-04-21 Thread Quincey Morris
This is more of a curiosity than anything else, but ... I have a (non-document) window whose title is set with 'setTitleWithRepresentedFilename:'. The title actually shown in the title bar is the last path component of the file path, as expected. I have an associated window whose title I'd like