]> git.lyx.org Git - lyx.git/blobdiff - src/XFormsView.C
whichFont down to 5.3%
[lyx.git] / src / XFormsView.C
index f22445be0f7933c9e0e9633c3ddc33d42a06dc16..ee8c67f1ece47ac892336ac616fa733a71f8d2e0 100644 (file)
@@ -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());
 }