Lars Gullik Bjønnes wrote:
Rob Lahaye <[EMAIL PROTECTED]> writes:
| // [--skip head of file here--]
| namespace Liason {
|
| void setMinibuffer(LyXView * lv, string const & msg)
| {
| lyx::Assert(lv);
| lv->message(msg);
| }
|
| } // namespace Liason
|
|
| This should not go into the controller, right?
No, but it could be put in some src/frontend file. LyXView perhaps.
... actually now since the LyXView has been moved into the frontends
the whole setMinibuffer function should be removed and the users of it
should just use LyXView::message directly instead.
setMinibuffer(lv, "hello") -> lv->message("hello")
Thanks, that works indeed.
This last bit made Liason.[Ch] completely redundant.
Will include all that in my big patch to GUI for 1.4.0cvs, when it's ready.
Rob.