Bo Peng wrote:
I think we should be able to "attach" nevertheless the inset by modifying a bit the "dialog-show" LFUN; this is done this way for the label and reference dialog for example. Please have a look at LFUN_LABEL_GOTO or something like that.The attached might be a better solution: we simply reject "dialog-show listings" in GuiView::dispatch. The event will be passed to InsetListings::doDispatch where we can show the dialog.
Wait, did you try "inset-settings listings"? Abdel.