Toolbar problem...

Archives Forums/MacOS X Discussion/Toolbar problem...

SLotman(Posted 2011) [#1]
I received an email from one of the portals which are testing my game, about a top bar problem - When running the game on windowed mode, this should be how the menu should show:



But it is actually showing like this:



So, does anyone have a clue what needs to be changed in order to make the "Hide" menu item to show as "Hide <apptitle>"?


skidracer(Posted 2011) [#2]
untested but try changing appstub.mod/appstub.macos.m[25] from
	[appMenu addItemWithTitle:@"Hide" action:@selector(hide:) keyEquivalent:@"h"];

to
	[appMenu addItemWithTitle:title action:@selector(hide:) keyEquivalent:@"h"];



and rebuild mods

Last edited 2011


SLotman(Posted 2011) [#3]
Thanks! I was looking instead on glgraphics.mod, and couldn't find anything related...

Now, thanks to your reply, looking on appstub, I did the necessary change:

[appMenu addItemWithTitle:[@"Hide " stringByAppendingString:appName] action:@selector(hide:) keyEquivalent:@"h"];


And that was it!

Once again, thank you very much!

Last edited 2011


matt!(Posted 2011) [#4]
Thanks for this.