]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/Menubar.C
fix tooltips in toolbar
[lyx.git] / src / frontends / Menubar.C
index 3d74bf86dc46a915b458cf6cef969337223e27f6..9737d5997519ddd39957d047e6fd940752c8ef75 100644 (file)
@@ -1,10 +1,10 @@
 /* This file is part of
- * ====================================================== 
- * 
+ * ======================================================
+ *
  *           LyX, The Document Processor
  *
  *           Copyright 1995 Matthias Ettrich
- *           Copyright 1995-2000 The LyX Team.
+ *           Copyright 1995-2001 The LyX Team.
  *
  *           This file is Copyright 2000 Jean-Marc Lasgouttes
  *
 #endif
 
 #include "Menubar.h"
+#include "MenuBackend.h"
 #include "Menubar_pimpl.h"
 
-using std::endl;
-
-Menubar::Menubar(LyXView * o, MenuBackend const &md)
+Menubar::Menubar(LyXView * o, MenuBackend const & md)
 {
        pimpl_ = new Pimpl(o, md);
 }
@@ -34,17 +33,12 @@ Menubar::~Menubar()
 }
 
 
-void Menubar::set(string const & name)
-{
-       pimpl_->set(name);
-}
-
-
 void Menubar::openByName(string const & name)
 {
        pimpl_->openByName(name);
 }
 
+
 void Menubar::update()
 {
        pimpl_->update();