NSStatusBar removeStatusItem on Mavericks
NSStatusBar removeStatusItem on Mavericks
- Subject: NSStatusBar removeStatusItem on Mavericks
- From: Pax <email@hidden>
- Date: Sun, 08 Dec 2013 19:35:51 +0000
Just a quickie - and it may be that I've found a small bug in Mavericks. My app contains the following code:
[[NSStatusBar systemStatusBar] removeStatusItem:statusItem];
This works perfectly on single monitor setups, and on OS's older than Mavericks. On a multi-monitor Mavericks setup, though, it only removes the menu item from the menubar on the currently active screen. Oddly, though, 'setMenu' works on both monitors correctly - which can result in more than one menu appearing on the non-active monitor. Weird, huh? Any ideas?
_______________________________________________
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