>> my menu nib contains "Save" and "Save As...” items > > What is the IB action associated with your Save As item? It’s not clear how > Cocoa recognizes the menu item, but the action seems like the likely > mechanism. Or it could be by standardized name, so your old menu might (e.g.) > have three periods where an ellipsis is expected.
The action is saveDocumentAs: and it is the same as in the vanilla project I've created for testing. It makes sense that it the action that is used to identify the item, especially since the addition of items also works when running in other localisations. > >> A test app I created from a template also has "Save" and "Save as..." but >> the "Save as..." is replaced by duplicate when running. > > According to the 10.7 release notes, Duplicate is added, and Save As is > “hidden”. You’re getting the addition, just not getting the hiding. > > If you can’t figure it out, there may be some IB magic in the File menu that > your XIB doesn’t have because it’s too old. You could try putting a fresh > File menu in your menu bar, and modify it to match any other customized items > in your old one. I tried removing the existing file menu in my "MainNib" and replaced it with a freshly-dragged-from-the-side-pane File menu - same result. Eyal _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com