Angus Leeming <[EMAIL PROTECTED]> writes: | Sorry, I'd got this wrong. The call I want to replace with a signal is | LyXView::setLayout, called only by LyXView and in The call in LyXView should be changed to call the correct LFUN instead. | BufferView::Pimpl::Dispatch(): | case LFUN_LAYOUT: | if (current_layout != layout.second) { | ... | owner_->SetLayout(bv_, layout.second); | } | | which in turn calls the toolbar: | | void Toolbar::Pimpl::setLayout(int layout) { | if (combox) | combox->select(layout+1); | } | | It strikes me that we could have | case LFUN_LAYOUT: | owner_->getDialogs().updateParagraph(ParagraphParams const & params); | | and then the toolbar and the paragraph dialog would have all the info they | need to do their own stuff. And this is not absolutely good... -- Lgb
- Re: FormParagraph question Lars Gullik Bjønnes
- Re: FormParagraph question Angus Leeming
- Re: FormParagraph question Juergen Vigna
- Re: FormParagraph question Angus Leeming
- Re: FormParagraph question Juergen Vigna
- Re: FormParagraph question Lars Gullik Bjønnes
- Re: FormParagraph question Juergen Vigna
- Re: FormParagraph question Angus Leeming
- Re: FormParagraph question Lars Gullik Bjønnes
- Re: FormParagraph question Angus Leeming
- Re: FormParagraph question Lars Gullik Bjønnes
- Re: FormParagraph question Juergen Vigna
- Re: FormParagraph question Angus Leeming
- Re: FormParagraph question John Levon
- Re: FormParagraph question Jean-Marc Lasgouttes
- Re: FormParagraph question Jean-Marc Lasgouttes
- Re: FormParagraph question Angus Leeming
- Re: FormParagraph question Juergen Vigna
- Re: FormParagraph question Lars Gullik Bjønnes
- Re: FormParagraph question Angus Leeming
- Re: FormParagraph question Lars Gullik Bjønnes