Le 10/11/2013 14:19, Tommaso Cucinotta a écrit :
On 10/11/13 13:09, Jean-Marc Lasgouttes wrote:
Or mark the lfun "unknown" when not supported.
how do I do this marking ? For now, the chat is activated via
A-x dialog-show chat
The best to make it work is to have a look at getStatus in
frontends/qt4/GuiView.cpp. There you can expand the current handling of
LFUN_DIALOG_SHOW to mark the function as disabled as needed.
Then, the patch you sent should just work.
Of course, this reauires to add ifdefs all over the code. You could also
decide that the functionality is a compiled-in stub when no chat support
is present.
JMarc