Small tweaks

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@907 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2000-07-20 13:07:12 +00:00
parent d42cc321ff
commit f8242351e2
3 changed files with 3 additions and 6 deletions

View File

@ -232,10 +232,7 @@ void FontSize(BufferView * bv, string const & size)
} }
/* -------> Returns the current font and depth by printing a message. In the // Returns the current font and depth as a message.
* 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.
*/
string CurrentState(BufferView * bv) string CurrentState(BufferView * bv)
{ {
string state; string state;

View File

@ -53,7 +53,7 @@ extern void StyleReset(BufferView *);
extern void Underline(BufferView *); extern void Underline(BufferView *);
/// ///
extern void FontSize(BufferView *, string const &); extern void FontSize(BufferView *, string const &);
/// /// Returns the current font and depth as a message.
extern string CurrentState(BufferView *); extern string CurrentState(BufferView *);
/// ///
extern void ToggleAndShow(BufferView *, LyXFont const &); extern void ToggleAndShow(BufferView *, LyXFont const &);

View File

@ -294,7 +294,7 @@ void Toolbar::set(bool doingmain)
// Set the tooltip // Set the tooltip
#if FL_REVISION >= 89 #if FL_REVISION >= 89
string help = lyxaction.helpText(action); string help = lyxaction.helpText(item->action);
fl_set_object_helper(obj, help.c_str()); fl_set_object_helper(obj, help.c_str());
#else #else
fl_set_object_posthandler(obj, C_Toolbar_BubblePost); fl_set_object_posthandler(obj, C_Toolbar_BubblePost);