mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-31 15:46:16 +00:00
Small tweaks
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@907 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d42cc321ff
commit
f8242351e2
@ -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;
|
||||
|
@ -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 &);
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user