]> git.lyx.org Git - lyx.git/blobdiff - src/MenuBackend.C
Restore the version number position on the splash screen
[lyx.git] / src / MenuBackend.C
index 9dfede0ab1a081375c3d0c63398a7c1cef332917..001fd4657813acc690da3bdba0d3fca8c3d84128 100644 (file)
 
 namespace lyx {
 
-using support::compare_no_case;
 using support::compare_ascii_no_case;
 using support::contains;
 using support::makeDisplayPath;
 using support::token;
-using support::uppercase;
 
 using boost::bind;
 
@@ -146,7 +144,7 @@ docstring const MenuItem::binding(bool forgui) const
        if (bindings.size()) {
                return bindings.begin()->print(forgui);
        } else {
-               lyxerr[Debug::KBMAP]
+               LYXERR(Debug::KBMAP)
                        << "No binding for "
                        << lyxaction.getActionName(func_.action)
                        << '(' << to_utf8(func_.argument()) << ')' << endl;
@@ -401,7 +399,7 @@ void Menu::checkShortcuts() const
                               << "\" does not contain shortcut `"
                               << to_utf8(shortcut) << "'." << endl;
                for (const_iterator it2 = begin(); it2 != it1 ; ++it2) {
-                       if (!compare_no_case(it2->shortcut(), shortcut)) {
+                       if (!compare_ascii_no_case(it2->shortcut(), shortcut)) {
                                lyxerr << "Menu warning: menu entries "
                                       << '"' << to_utf8(it1->fulllabel())
                                       << "\" and \"" << to_utf8(it2->fulllabel())
@@ -536,6 +534,8 @@ void expandFormats(MenuItem::Kind kind, Menu & tomenu, Buffer const * buf)
 
                switch (kind) {
                case MenuItem::ImportFormats:
+                       // FIXME: This is a hack, we should rather solve
+                       // FIXME: bug 2488 instead.
                        if ((*fit)->name() == "text")
                                label = _("Plain Text");
                        else if ((*fit)->name() == "textparagraph")