Re: Application main menu title behavior change in 10.6
Re: Application main menu title behavior change in 10.6
- Subject: Re: Application main menu title behavior change in 10.6
- From: Steven Degutis <email@hidden>
- Date: Fri, 4 Sep 2009 17:50:57 -0500
If that's indeed the case, then you're out of luck short of using a private
API in AppKit (which can be class-dump'd, by the way), which I would not
recommend. However, if you wanted, the way I would try it is by changing the
name of the application respective of the main menu, or at least look to see
if this is possible using private APIs in AppKit. But that's just me...
--
Steven Degutis
http://www.thoughtfultree.com/
http://www.degutis.org/
On Fri, Sep 4, 2009 at 1:31 PM, Jim Turner <email@hidden> wrote:
> Hi all,
>
> I have an application (QuicKeys) that allows the user to define menu
> selection as an action. In our latest version and under Leopard, we
> present UI that replaces the main menu bar of our app with the menu
> bar of the target app (via setMainMenu:) so that we can correctly
> retrieve which menu item the user selected. Works like a champ, even
> under Snow Leopard, save for one problem. Under 10.6, the application
> name is always "QuicKeys", not "Finder" or whatever the target
> application name would be. This is causing confusion with our users as
> while the menu is really the target app's menu, it has the wrong
> application name.
>
> Reading through the release notes for AppKit on 10.6, I found that
> there's been a change to how the main menu bar displays the
> application's name. Specifically, under the "NSApplication
> application menu item title" header, it states "... the application
> menu always reflects the application name." This appears to be what's
> causing the issue and I'm curious if anyone knows of a work-around?
>
> Thanks
> Jim
> _______________________________________________
>
> 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