From 2cd0b94b86f9e80ba46044bb8c3bce97cd7b8fe2 Mon Sep 17 00:00:00 2001 From: John Spray Date: Fri, 1 Oct 2004 19:31:08 +0000 Subject: [PATCH] Fix tooltips git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9033 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/gtk/GToolbar.C | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/frontends/gtk/GToolbar.C b/src/frontends/gtk/GToolbar.C index 3cc6df480a..9017fa57db 100644 --- a/src/frontends/gtk/GToolbar.C +++ b/src/frontends/gtk/GToolbar.C @@ -248,7 +248,8 @@ void GToolbar::add(FuncRequest const & func, string const & tooltip) // toolitem later. toolbutton->set_data(gToolData, reinterpret_cast(&const_cast(func))); - tooltips_.set_tip(*toolbutton, tip, tip); + + toolbutton->set_tooltip(tooltips_,tip); toolbutton->signal_clicked().connect(sigc::bind(sigc::mem_fun(*this, >oolbar::clicked), FuncRequest(func))); toolbar_.append(*toolbutton);