Apparently menu's got smarter in Tiger. As a workaround for the old version, you should first open the Help menu and then drag to the other menu's.
This still isn't the correct way to fix it. We should attach a callback function to the autogenerated menu's and have the callback function update the menu. (but this will work for now).
{
bEnabled = FALSE;
}
+ [o_main setupMenus]; /* Make sure input menu is up to date */
}
else if( [[o_mi title] isEqualToString: _NS("Previous")] ||
[[o_mi title] isEqualToString: _NS("Next")] )
else if( [[o_mi title] isEqualToString: _NS("Mute")] )
{
[o_mi setState: p_intf->p_sys->b_mute ? NSOnState : NSOffState];
+ [o_main setupMenus]; /* Make sure audio menu is up to date */
}
else if( [[o_mi title] isEqualToString: _NS("Half Size")] ||
[[o_mi title] isEqualToString: _NS("Normal Size")] ||
{
bEnabled = FALSE;
}
+ [o_main setupMenus]; /* Make sure video menu is up to date */
}
NSString *o_title = [o_mi title];
BOOL bEnabled = TRUE;
- if( [o_title isEqualToString: _NS("License")] )
- {
- /* we need to do this only once */
- [self setupMenus];
- }
-
/* Recent Items Menu */
if( [o_title isEqualToString: _NS("Clear Menu")] )
{