From: Jean-Marc Lasgouttes Date: Thu, 20 Jul 2000 13:07:12 +0000 (+0000) Subject: Small tweaks X-Git-Tag: 1.6.10~22099 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f8242351e2c0610d7555fedb3e9061e9fd482058;p=features.git Small tweaks git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@907 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/bufferview_funcs.C b/src/bufferview_funcs.C index 9d24abd6b3..baf340bd02 100644 --- a/src/bufferview_funcs.C +++ b/src/bufferview_funcs.C @@ -232,10 +232,7 @@ void FontSize(BufferView * bv, string const & size) } -/* -------> Returns the current font and depth by printing a message. In the - * future perhaps we could try to implement a callback to the button-bar. - * That is, `light' the bold button when the font is currently bold, etc. - */ +// Returns the current font and depth as a message. string CurrentState(BufferView * bv) { string state; diff --git a/src/bufferview_funcs.h b/src/bufferview_funcs.h index e27fa0f66f..c479b43051 100644 --- a/src/bufferview_funcs.h +++ b/src/bufferview_funcs.h @@ -53,7 +53,7 @@ extern void StyleReset(BufferView *); extern void Underline(BufferView *); /// extern void FontSize(BufferView *, string const &); -/// +/// Returns the current font and depth as a message. extern string CurrentState(BufferView *); /// extern void ToggleAndShow(BufferView *, LyXFont const &); diff --git a/src/toolbar.C b/src/toolbar.C index 01a88558f8..3a07849b94 100644 --- a/src/toolbar.C +++ b/src/toolbar.C @@ -294,7 +294,7 @@ void Toolbar::set(bool doingmain) // Set the tooltip #if FL_REVISION >= 89 - string help = lyxaction.helpText(action); + string help = lyxaction.helpText(item->action); fl_set_object_helper(obj, help.c_str()); #else fl_set_object_posthandler(obj, C_Toolbar_BubblePost);