]> git.lyx.org Git - lyx.git/blobdiff - src/LyXView.C
parch from Herbert
[lyx.git] / src / LyXView.C
index fae0afcce3d483874df4ce731144a2e3cf8f60f5..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.
  *
@@ -58,12 +57,7 @@ LyXView::LyXView()
        autosave_timeout = new Timeout(5000);
 
        dialogs_ = new Dialogs(this);
-#if 0
-       dialogs_->hideBufferDependent
-               .connect(SigC::slot(&CloseAllBufferRelatedDialogs));
        Dialogs::redrawGUI.connect(SigC::slot(this, &LyXView::redraw));
-       Dialogs::redrawGUI.connect(SigC::slot(&RedrawAllBufferRelatedDialogs));
-#endif
 }
 
 
@@ -80,7 +74,7 @@ LyXView::~LyXView()
 }
 
 
-void LyXView::resize() 
+void LyXView::resize()
 {
        view()->resize();
 }
@@ -153,7 +147,7 @@ Menubar * LyXView::getMenubar() const
 }
 
 
-void LyXView::updateMenubar() 
+void LyXView::updateMenubar()
 {
        if ((!view() || !view()->buffer())
            && menubackend.hasMenu("main_nobuffer"))
@@ -199,7 +193,7 @@ void LyXView::updateLayoutChoice()
        // document is loaded.
        if (!view() || !view()->buffer()) {
                toolbar->clearLayoutList();
-               return; 
+               return;
        }
 
        // Update the layout display