Angus Leeming <[EMAIL PROTECTED]> writes: | I have hit a small nastiness when trying to replace the LFUNs below with a | single LFUN_DIALOG_SHOW <name>. They all have different "attrib"s, Noop, | NoBuffer, etc. | | Replace these | { LFUN_DIALOG_PREFERENCES, "dialog-preferences", NoBuffer }, | { LFUN_FORKS_SHOW, "show-forks", NoBuffer }, | { LFUN_HELP_ABOUTLYX, "help-aboutlyx", NoBuffer }, | { LFUN_HELP_TEXINFO, "help-Texinfo", NoBuffer }, | { LFUN_LATEX_LOG, "latex-view-log", ReadOnly }, | { LFUN_LAYOUT_CHARACTER, "layout-character", ReadOnly }, | { LFUN_LAYOUT_DOCUMENT, "layout-document", ReadOnly }, | { LFUN_LAYOUT_PREAMBLE, "layout-preamble", ReadOnly }, | { LFUN_MATH_PANEL, "math-panel", Noop }, | { LFUN_MENUPRINT, "buffer-print", ReadOnly }, | { LFUN_MENUSEARCH, "find-replace", ReadOnly }, | { LFUN_SPELLCHECK, "spellchecker", Noop }, | { LFUN_VC_HISTORY, "vc-history", ReadOnly }, | with this | { LFUN_DIALOG_SHOW, "dialog-show", Argument }, | | This information is overridden by the single Argument attrib, but I wonder | if we should devise some extra machinery to preserve the lost info? Eg, add | something like this to LyXAction::init:
Sounds like ad-hoc solutions. IMHO this mean that there cannot be a single LFUN_DIALOG_SHOW. -- Lgb