Or mark the lfun "unknown" when not supported. Jmarc
Georg Baum <georg.b...@post.rwth-aachen.de> a écrit : >Tommaso Cucinotta wrote: > >> One tiny issue, though: the "LyX Chat" menu in stdmenus.inc: that is >going >> to be added anyway, even though the "dialog-show lyx-chat" is not >going to >> be anyway meaningful without USE_QXMPP ? >> >> Is there a way to get rid of the menu entry as well, in such case ? > >Yes: Use an OptSubmenu. This will not appear if the corresponding lfun >is >disabled. This works as well if you want individual items to disappear >(with >OptItem). > > >Georg