]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/xforms/Tooltips.C
Yet more dialog tweaking from Rob.
[lyx.git] / src / frontends / xforms / Tooltips.C
index 3627883b7ae99eda08d9a1ef3e3b0f9dc396480f..d49797a3487cea8973d7352c10286e730d7933d3 100644 (file)
@@ -1,9 +1,11 @@
-/*
+/**
  * \file Tooltips.C
- * Copyright 2002 the LyX Team
- * Read the file COPYING
+ * This file is part of LyX, the document processor.
+ * Licence details can be found in the file COPYING.
  *
- * \author Angus Leeming <leeming@lyx.org>
+ * \author Angus Leeming 
+ *
+ * Full author contact details are available in file CREDITS
  */
 
 /* Tooltips for xforms. xforms 0.89 supports them directly, but 0.88 needs
@@ -109,14 +111,9 @@ static void C_TooltipTimerCB(FL_OBJECT * ob, long data)
 }
 
 
-Tooltips::Tooltips(Dialogs & d)
+Tooltips::Tooltips()
        : tooltip_timer_(0)
 {
-       static bool first = true;
-       if (first) {
-               first = false;
-               d.toggleTooltips.connect(boost::bind(&Tooltips::toggleEnabled));
-       }
        toggled.connect(boost::bind(&Tooltips::set, this));
 }