Re: Disabling menu items
Re: Disabling menu items
- Subject: Re: Disabling menu items
- From: Kevin Perry <email@hidden>
- Date: Fri, 06 Oct 2017 16:41:28 -0700
This should be handled automatically by NSDocumentController’s implementation
of -validateUserInterfaceItem: / -validateMenuItem:. Any chance you’re
overriding either of those methods and returning YES for menu items you don’t
own (instead of calling super)?
> On Oct 6, 2017, at 4:13 PM, Shane Stanley <email@hidden> wrote:
>
> I fear I'm missing something simple. When I enter the versions browser, I
> want to disable the items on the Open Recent submenu. But I'm not seeing
> anywhere obvious to do it; that menu looks like it's all handled opaquely.
> Any clues?
>
>
> --
> Shane Stanley <email@hidden>
> <www.macosxautomation.com/applescript/apps/>, <latenightsw.com>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> 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:
>
> This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden