Dock menu item action isn't performed in modal state
Dock menu item action isn't performed in modal state
- Subject: Dock menu item action isn't performed in modal state
- From: Ondrej Valik <email@hidden>
- Date: Wed, 7 Jan 2009 17:05:38 +0100
Hello.
I'm using delegate's applicationDockMenu: method for returning my
custom dock menu. It has a single menu item. This menu item has its
target/action properly set up and my dock menu delegate implements
worksWhenModal method (returning YES). So my menu item is enabled when
my app is in modal state.
Nevertheless, my action isn't called when app is in modal state. Apple
defined menu items such as "Show in Finder" works correctly.
I have made some investigation about other applications:
- this sample: http://developer.apple.com/samplecode/DeskPictAppDockMenu/index.html
has the same problem (you could show page setup dialog)
- iTunes (but it's Carbon app?) custom dock menu items works OK.
Is there any way how to make custom dock menu item working in modal
state?
Thanks in advance for any suggestions.
Ondrej Valik
_______________________________________________
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