]> git.lyx.org Git - lyx.git/blobdiff - src/ToolbarBackend.C
Point fix, earlier forgotten
[lyx.git] / src / ToolbarBackend.C
index 487648eb80403fa6402791e5fe22d84235a1500c..099d9cafaf7af9dfd885e7432587759d99662571 100644 (file)
@@ -3,9 +3,10 @@
  * This file is part of LyX, the document processor.
  * Licence details can be found in the file COPYING.
  *
- * \author unknown
+ * \author Jean-Marc Lasgouttes
+ * \author John Levon
  *
- * Full author contact details are available in file CREDITS
+ * Full author contact details are available in file CREDITS.
  */
 
 #include <config.h>
@@ -24,6 +25,8 @@
 
 #include <vector>
 
+using namespace lyx::support;
+
 using std::endl;
 using std::vector;
 using std::make_pair;
@@ -69,7 +72,7 @@ void ToolbarBackend::read(LyXLex & lex)
 
        Toolbar tb;
        tb.name = lex.getString();
-       
+
        bool quit = false;
 
        lex.pushTable(toolTags, TO_LAST - 1);
@@ -237,5 +240,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");
 }