]> git.lyx.org Git - lyx.git/blobdiff - src/ToolbarBackend.C
last Friday's text*.C -> text_func shuffle
[lyx.git] / src / ToolbarBackend.C
index 412616db598b901f96871a0f62fb2db25e8447ed..e4d4232bdeb44470a9c2a7331dae05e6b765ecd3 100644 (file)
@@ -24,6 +24,8 @@
 
 #include <vector>
 
+using namespace lyx::support;
+
 using std::endl;
 using std::vector;
 using std::make_pair;
@@ -237,5 +239,8 @@ string const ToolbarBackend::getIcon(int action)
                return fullname;
        }
 
+       lyxerr[Debug::GUI] << "Cannot find icon for command \""
+                          << lyxaction.getActionName(f.action)
+                          << ' ' << f.argument << '"' << endl;
        return LibFileSearch("images", "unknown", "xpm");
 }