]> git.lyx.org Git - features.git/commitdiff
Small tweaks
authorJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 20 Jul 2000 13:07:12 +0000 (13:07 +0000)
committerJean-Marc Lasgouttes <lasgouttes@lyx.org>
Thu, 20 Jul 2000 13:07:12 +0000 (13:07 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@907 a592a061-630c-0410-9148-cb99ea01b6c8

src/bufferview_funcs.C
src/bufferview_funcs.h
src/toolbar.C

index 9d24abd6b31bf6701a6101e00973db91f61ecd5c..baf340bd027618975e26f2aec2996d8911aee97f 100644 (file)
@@ -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;
index e27fa0f66fbed217e94a3f2520318aea2d749ff3..c479b430514023d5f72c0a2f95c70bfcb3e0eb40 100644 (file)
@@ -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 &);
index 01a88558f8a790f5ab2c2376fa2f06b23e6c99b0..3a07849b94eb667937abcca068d7806c11e2d6c5 100644 (file)
@@ -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);