-
/* This file is part of
- * ======================================================
- *
+ * ======================================================
+ *
* LyX, The Document Processor
- *
+ *
* Copyright 1995 Matthias Ettrich
* Copyright 1995-2001 The LyX Team.
*
#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"
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));
}
}
-void LyXView::resize()
+void LyXView::resize()
{
view()->resize();
}
}
-void LyXView::updateMenubar()
+void LyXView::updateMenubar()
{
if ((!view() || !view()->buffer())
&& menubackend.hasMenu("main_nobuffer"))
// document is loaded.
if (!view() || !view()->buffer()) {
toolbar->clearLayoutList();
- return;
+ return;
}
// Update the layout display