On Tue, Oct 07, 2003 at 02:37:53PM +0100, John Levon wrote: > On Tue, Oct 07, 2003 at 03:13:10PM +0200, Andre Poenitz wrote: > > > The problem with 'right-click context menus' is that they are not as > > simple to implement as adding a few lines to ui/foo.ui. > > All we need is some function to return the type of the current inset. > Then we can add lines for each item in a ui/context.ui
No problem. Inset::getInsetName() exists already and some Insets even implement it. > > Show me how that works and I'll happily move most mathed editing to > > such a context menu. > > Please don't - anything an average user is likely to use MUST be in > the main menus. Well, 100 features would most likely end up in a deep menu hierarchy, won't they? Andre'