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") | I want to get rid of the Liason files and move setMinibuffer() | into another appropriate file. But where else could this go? | I can't tell because I have no idea what setMinibuffer() actually does! | | setMinibuffer() is still used in: It gives "msg" as a message in the status line in the main lyx window. | frontends/xforms/FormDocument.C | frontends/controllers/ControlDocument.C | frontends/controllers/ControlCharacter.C | frontends/controllers/ControlParagraph.C | frontends/controllers/ControlPreamble.C | frontends/controllers/ControlSearch.C | frontends/controllers/ControlThesaurus.C | | which makes me believe that setMinibuffer() has nothing to do with | printing, correct -- Lgb