]> git.lyx.org Git - lyx.git/blobdiff - src/LyXView.C
fix typo that put too many include paths for most people
[lyx.git] / src / LyXView.C
index e1510008b747e0c993a91d8a5e3ad04a28442b56..561e644f1c499863ab23e2157ca6dd54151734fd 100644 (file)
@@ -1,9 +1,8 @@
-
 /* This file is part of
- * ====================================================== 
- * 
+ * ======================================================
+ *
  *           LyX, The Document Processor
- *        
+ *
  *           Copyright 1995 Matthias Ettrich
  *           Copyright 1995-2001 The LyX Team.
  *
@@ -23,7 +22,6 @@
 #include "lyxtext.h"
 #include "buffer.h"
 #include "MenuBackend.h"
-#include "lyx_gui_misc.h"      // [update,Close,Redraw]AllBufferRelatedDialogs
 #include "bufferview_funcs.h" // CurrentState()
 #include "gettext.h"
 #include "lyxfunc.h"
@@ -59,10 +57,7 @@ LyXView::LyXView()
        autosave_timeout = new Timeout(5000);
 
        dialogs_ = new Dialogs(this);
-       dialogs_->hideBufferDependent
-               .connect(SigC::slot(&CloseAllBufferRelatedDialogs));
        Dialogs::redrawGUI.connect(SigC::slot(this, &LyXView::redraw));
-       Dialogs::redrawGUI.connect(SigC::slot(&RedrawAllBufferRelatedDialogs));
 }
 
 
@@ -79,7 +74,7 @@ LyXView::~LyXView()
 }
 
 
-void LyXView::resize() 
+void LyXView::resize()
 {
        view()->resize();
 }
@@ -152,7 +147,7 @@ Menubar * LyXView::getMenubar() const
 }
 
 
-void LyXView::updateMenubar() 
+void LyXView::updateMenubar()
 {
        if ((!view() || !view()->buffer())
            && menubackend.hasMenu("main_nobuffer"))
@@ -198,7 +193,7 @@ void LyXView::updateLayoutChoice()
        // document is loaded.
        if (!view() || !view()->buffer()) {
                toolbar->clearLayoutList();
-               return; 
+               return;
        }
 
        // Update the layout display