i have tried to add an icon to the toolbar for the insert todo
command. the package todo is installed and can be used via the menu.
i added the line
Item "Insert TODO" "todo"
to the file stdtoolbars.inc (in ~/.lyx/ui) in the first toolbar before
"check spelling".
an icon for todo.png is in my ~/.lyx/images (and also in the global
images directory)
(the icon is a copy from another icon, which i do not intend to use)
then reconfigure and restart. the changed stdtoolbars file is read
(visible when i change the tooltip for another icon), but the icon
does not appear.
what could be wrong? -- helpl is appreciated! - andrew
the layout file for todo is
#\DeclareLyXModule{TODO notes}
#DescriptionBegin
#Inserts TODO-notes in the output. A list of todo notes can be
produced
#by inserting \listoftodos in ERT.
#DescriptionEnd
# Author: Juergen Spitzmueller <
sp...@lyx.org>
Format 11
InsetLayout TODO
LyXType custom
LabelString TODO
LatexType command
LatexName todo
Decoration classic
LabelFont
Color magenta
Size Small
EndFont
MultiPar false
OptionalArgs 1
Preamble
\RequirePackage{todonotes}
EndPreamble
End