• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Disabling menu items
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Disabling menu items
      • From: Shane Stanley <email@hidden>
References: 
 >Disabling menu items (From: Shane Stanley <email@hidden>)

  • Prev by Date: Disabling menu items
  • Next by Date: Re: Disabling menu items
  • Previous by thread: Disabling menu items
  • Next by thread: Re: Disabling menu items
  • Index(es):
    • Date
    • Thread