Re: Empty "Open recent" menu
Re: Empty "Open recent" menu
- Subject: Re: Empty "Open recent" menu
- From: Marc Respass <email@hidden>
- Date: Mon, 18 Mar 2002 08:26:42 -0500
Is your application NSDocument based? If it is, the menu is populated
automatically. If it's not, there is a method on NSDocumentController
that you can invoke,
[[NSDocumentController sharedDocumentController]
noteNewRecentDocumentURL: [NSURL fileURLWithPath:pathToFile]];
Hope that helps
Marc
On Monday, March 18, 2002, at 07:25 AM, Thomas Lachand-Robert wrote:
I have an "Open recent" menu in my app: actually that's just the
default one provided by default; I didn't change the File menu at all.
But the corresponding list stay desperatly empty, no matter how many
document I open/save, etc.
I checked in the preferences files, there is an array of 3 elements
under the key "NSRecentDocumentRecords". This increases by one if I
save a new document... still nothing in the recent list.
Did I do something wrong to not have the recent documents?
Thomas Lachand-Robert
********************** email@hidden
<< Et le chemin est long du projet ` la chose. >> Molihre, Tartuffe.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.