rev 21667: Forgot this!

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21668 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-11-18 22:29:58 +00:00
parent 01470ddcb7
commit 9f26cdda31
3 changed files with 8 additions and 10 deletions

View File

@ -234,7 +234,6 @@ LyXView & GuiApplication::createView(string const & geometry_arg)
GuiView * view = views_[id];
theLyXFunc().setLyXView(view);
view->init();
view->show();
if (!geometry_arg.empty()) {
#ifdef Q_WS_WIN

View File

@ -323,6 +323,8 @@ GuiView::GuiView(int id)
// For Drag&Drop.
setAcceptDrops(true);
init();
}
@ -1417,12 +1419,6 @@ Dialog * GuiView::build(string const & name)
}
/// Are the tooltips on or off?
bool GuiView::tooltipsEnabled()
{
return false;
}
} // namespace frontend
} // namespace lyx

View File

@ -61,7 +61,13 @@ public:
~GuiView();
/**
* This is called after the concrete view has been created.
* We have to have the toolbar and the other stuff created
* before we can populate it with this call.
*/
virtual void init();
///
virtual void close();
virtual void setFocus();
virtual void setBusy(bool);
@ -211,9 +217,6 @@ public:
*/
void checkStatus();
/// Are the tooltips on or off?
bool tooltipsEnabled();
/// Hide all visible dialogs
void hideAll() const;
/// Hide any dialogs that require a buffer for them to operate