X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FXFormsView.C;h=ee8c67f1ece47ac892336ac616fa733a71f8d2e0;hb=21226de2b87a86be19fff025cace3d286a75aa76;hp=f22445be0f7933c9e0e9633c3ddc33d42a06dc16;hpb=82d18e917b011ec7cf0cffdf8c06e917f95d9d25;p=lyx.git diff --git a/src/XFormsView.C b/src/XFormsView.C index f22445be0f..ee8c67f1ec 100644 --- a/src/XFormsView.C +++ b/src/XFormsView.C @@ -58,7 +58,7 @@ XFormsView::XFormsView(int width, int height) // Connect the minibuffer signals minibuffer->stringReady.connect(SigC::slot(getLyXFunc(), - &LyXFunc::miniDispatch)); + &LyXFunc::miniDispatch)); minibuffer->timeout.connect(SigC::slot(getLyXFunc(), &LyXFunc::initMiniBuffer)); @@ -190,6 +190,8 @@ void XFormsView::create_form_form_main(int width, int height) fl_set_form_minsize(form_, 50, 50); fl_end_form(); + + minibuffer->dd_init(); } @@ -210,9 +212,10 @@ void XFormsView::init() } -void XFormsView::setWindowTitle(string const & title) +void XFormsView::setWindowTitle(string const & title, string const & icon_title) { fl_set_form_title(form_, title.c_str()); + fl_winicontitle(form_->window, icon_title.c_str()); }