I posted the following bug at
http://rubyforge.org/tracker/index.php?func=detail&aid=27962&group_id=35&atid=218.
Is anyone else dealing with this?
Hello Sean,
This is a feature / bug with wxWidgets on Mac OS X. The menus File and
Help
are actually combined into the “Main” Menu Item, which is the name of
the
application that is running. Such as Quit, Preferences and Help gets
put
under the application name main menu, instead of under File, or Help.
This
is Mac OS X’s way of doing things.
hth,
Mario
This is a feature / bug with wxWidgets on Mac OS X. The menus File and Help are actually combined into the “Main” Menu Item, which is the name of the application that is running. Such as Quit, Preferences and Help gets put under the application name main menu, instead of under File, or Help. This is Mac OS X’s way of doing things.
Aha, okay. Sounds good - except for two things:
- it *shows" a File menu, which is weird (from a user standpoint). Is
there a way to have it not show “File” at all and put the items under
the [application name] menu? - it doesn’t show an [application name] menu at all, but a “ruby” menu,
which is also weird and not-very-mac. Is there a way to actually get
the app name there instead of “ruby”?
Thanks for the help!
Sean
Hello again Sean,
On Sat, Mar 13, 2010 at 5:43 PM, DeNigris S.
[email protected]wrote:
This is a feature / bug with wxWidgets on Mac OS X. The menus File and
Help are actually combined into the “Main” Menu Item, which is the name of
the application that is running. Such as Quit, Preferences and Help gets
put under the application name main menu, instead of under File, or Help.
This is Mac OS X’s way of doing things.
Aha, okay. Sounds good - except for two things:
- it *shows" a File menu, which is weird (from a user standpoint). Is
there a way to have it not show “File” at all and put the items under the
[application name] menu?
I have not found a way to do this, Alex has more experience with this
sort
of thing, then I do.
- it doesn’t show an [application name] menu at all, but a “ruby” menu,
which is also weird and not-very-mac. Is there a way to actually get the
app name there instead of “ruby”?
This has been answered before, there’s two ways in which you can achieve
this. The first is to rename the ruby executable (Which Mac OS X uses)
to
the name of your application, which isn’t ideal. Or, you can use the
.app
Directory creation for your program, and put in a manifest file that
will
describe what the program is, how to launch it, and what the Application
name is. This second method is the ideal method in which to do it, as
it
solves a lot of problems, and gives you more options. If you look at
Alex’s
Weft-QDA Rake file, for OS X here:
http://weft-qda.rubyforge.org/svn/trunk/weft-qda/rake/rake_osx.rb You
can
learn much about how to create an .app directory, to store your program
code, and executables in.
Thanks for the help!
Your welcome.
Sean
hth,
Mario