mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-03 16:31:13 +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
|
// 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;
|
||||||
|
@ -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 &);
|
||||||
|
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user