]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetInfo.cpp
Cleanup mouse/selection/context-menu interactions.
[lyx.git] / src / insets / InsetInfo.cpp
index 910052f5a4fa38bc8990b426e725812819c0b8a8..442928b7c469bfa69e6a5097a7043564a01cf867 100644 (file)
@@ -11,7 +11,7 @@
 
 #include "InsetInfo.h"
 
-#include "BaseClassList.h"
+#include "LayoutFile.h"
 #include "Buffer.h"
 #include "BufferParams.h"
 #include "BufferView.h"
@@ -65,7 +65,7 @@ void InsetInfo::draw(PainterInfo & pi, int x, int y) const
                odocstringstream os;
                os << _("Information regarding ")
                   <<_(nameTranslator().find(type_))
-                  << _(" ") << from_utf8(name_);
+                  << " " << from_utf8(name_);
                pi.base.bv->message(os.str());
        }
 }
@@ -200,7 +200,7 @@ void InsetInfo::updateInfo()
                break;
        case TEXTCLASS_INFO: {
                // name_ is the class name
-               setText(BaseClassList::get().haveClass(name_) ? _("yes") : _("no"),
+               setText(LayoutFileList::get().haveClass(name_) ? _("yes") : _("no"),
                bp.getFont(), false);
                break;
        }