Application name in About, Hide, and Quit menu items
Hendrik Schreiber
hs at tagtraum.com
Fri Aug 1 08:18:15 UTC 2014
Hi,
I'm bundling my app using the InfiniteKind AppBundler, which works great.
There is just a little discrepancy, I'm wondering about how to get rid off.
The application menu (right next to the Apple menu) is named the way I want it - not sure whether this is the app bundle's name or the CFBundleName from the Info.plist. Both are the same and that's fine.
However, in the application menu there are the items "About <APPNAME>", "Hide <APPNAME>", and "Quit <APPNAME>".
All of them are not set to the bundle name, but to the main classname. So the application menu looks like this:
[BundleName]
[About Classname]
[Hide Classname]
...
[Quit Classname]
In my case BundleName and Classname are not identical.
I'm under the impression that the classname is set by the JVM, as only the fully qualified classname is passed into jli_LaunchFxnPtr. The bundle name on the other hand, seems to be set some other way.
Is there a way to make sure that the About, Hide, and Quit menu items are also set to the bundle name, without having to change the classname?
Or in other words: wouldn't it make sense, to always make sure that the appname used in About, Hide, and Quit matches the name of the Application menu, i.e. the bundle name?
Cheers,
-hendrik
More information about the macosx-port-dev
mailing list