X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2FLyXView.C;h=561e644f1c499863ab23e2157ca6dd54151734fd;hb=98c966c64594611e469313314abd1e59524adb4a;hp=e1510008b747e0c993a91d8a5e3ad04a28442b56;hpb=dbd7a961fc46bb10c85bdd8c7fb6626477ae63d8;p=lyx.git diff --git a/src/LyXView.C b/src/LyXView.C index e1510008b7..561e644f1c 100644 --- a/src/LyXView.C +++ b/src/LyXView.C @@ -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