mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
add Dialogs to constructor arg
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4521 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a78c4b15ff
commit
1bb756581b
@ -1,3 +1,7 @@
|
||||
2002-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
|
||||
|
||||
* Tooltips.C (Tooltips): add Dialogs to constructor arg.
|
||||
|
||||
2002-07-01 Angus Leeming <leeming@lyx.org>
|
||||
|
||||
* forma/Makefile.am: keep "make clean" consistent with Kayvan's fix.
|
||||
|
@ -115,13 +115,13 @@ static void C_TooltipTimerCB(FL_OBJECT * ob, long data)
|
||||
}
|
||||
|
||||
|
||||
Tooltips::Tooltips()
|
||||
Tooltips::Tooltips(Dialogs & d)
|
||||
: tooltip_timer_(0)
|
||||
{
|
||||
static bool first = true;
|
||||
if (first) {
|
||||
first = false;
|
||||
Dialogs::toggleTooltips.connect(boost::bind(&Tooltips::toggleEnabled));
|
||||
d.toggleTooltips.connect(boost::bind(&Tooltips::toggleEnabled));
|
||||
}
|
||||
toggled.connect(boost::bind(&Tooltips::set, this));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user