<p dir="ltr">If the button fires an UNO command, you should<br>
A) create an icon in an icon theme pack/folder. It should be named lc_unocommandname.png for large icons and sc_unocommandname.png for small ones.<br>
B) or, if you want to reuse an existant icon, you can make a link to it: add its name to a text file called links.txt in theme directory. Example line:<br>
 cmd/lc_newunocommandname.png cmd/lc_existanticon.png</p>
<p dir="ltr">Sorry if I was not clear. Answering by mobile.</p>
<p dir="ltr">Regards,<br>
Rodolfo. </p>
<div class="gmail_quote">Em 05/12/2013 06:30, "Samuel Mehrbrodt" <<a href="mailto:s.mehrbrodt@gmail.com">s.mehrbrodt@gmail.com</a>> escreveu:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

  

    
  
  <div text="#000000" bgcolor="#FFFFFF">
    Hi,<br>
    <br>
    I'm trying to add the Navigation buttons that were below the
    scrollbar in Writer to the Search bar, as discussed on UX-Advise.<br>
    <br>
    Now I have the "Next" and "Previous" buttons working, but have two
    questions:<br>
    <br>
    - How can I display an Image instead of text in the toolbar?<br>
    - I have a new Uno Command for showing the Navigation window (<tt>uno:NavigationPopup</tt>)
    and I catch it in <tt>sw/source/ui/uiview/view2.cxx</tt>. Now I
    need to implement something like [1] (<tt>new </tt>
    
    <tt>SwScrollNaviPopup ...</tt>). Where should I implement this? It
    doesn't seem right to me to do it directly in <tt>view2.cxx</tt>.<br>
    <br>
    Thanks<br>
    Samuel<br>
    <br>
    [1]
    
    <a href="http://cgit.freedesktop.org/libreoffice/core/diff/sw/source/ui/ribbar/workctrl.cxx?id=3e8fe4d8e19be2ccd8f5bb898530e2f615a90321" target="_blank">http://cgit.freedesktop.org/libreoffice/core/diff/sw/source/ui/ribbar/workctrl.cxx?id=3e8fe4d8e19be2ccd8f5bb898530e2f615a90321</a>
  </div>

<br>_______________________________________________<br>
LibreOffice mailing list<br>
<a href="mailto:LibreOffice@lists.freedesktop.org">LibreOffice@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/libreoffice" target="_blank">http://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
<br></blockquote></div>