Marcus Overhagen wrote (2007-06-14, 13:51:59 [+0200]): > Stephan Assmus wrote: > > > Stefano Ceccherini wrote (2007-06-14, 10:28:47 [+0200]): > > > 2007/6/14, Chris Peel <chris.gsi@xxxxxxxxxxxx>: > > > > more. Also, I really think that having a short-cut _and_ submenu > > > > indicator in the same menu item is mutually exclusive. > > > > > > I'd agree with you, but since the OS lets you have both, I think we > > > should also handle this case gracefully (i.e. not like beos). > > > > To be fair, the API does not exactly lead you to believe this was > > intended. > > > > It could be argued, that one has to resort to tricks to even do that. :-) > > I agree with Chris and think that having a short-cut to a submenu > isn't required, although we have one use case in DiskProbe. > > Perhaps it would be the easiest solution to ignore (neither display, nor > register) > the shortcut assigned to a item that has submenus. This would break a couple of applications. But with our own apps, we should separate a menu entry from the submenu: Open Recent -> Open... Best regards, -Stephan