<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body>
<p>Den 25.11.2013 06:34, Jeremy Laidman skrev:</p>
<blockquote type="cite" style="padding-left:5px; border-left:#1010ff 2px solid; margin-left:5px; width:100%">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote">On 25 November 2013 07:21, Kris Springer <span><<a href="mailto:kspringer@innovateteam.com">kspringer@innovateteam.com</a>></span> wrote:<br />
<blockquote class="gmail_quote" style="margin: 0  0  0  .8ex; border-left: 1px  #ccc  solid; padding-left: 1ex;">
<div dir="ltr">
<div style="font-family: arial,helvetica,sans-serif; color: #990000;">I create my own icons for xymon, but I'd like to use png files instead of gif's.  What config file are those specified in?  I can easily overwrite the old icons with my new icons if I leave everything as gif's, but I'd like to make them png's instead.  Where do I set that?</div>
</div>
</blockquote>
<div> </div>
<div>Kris, this is hard-coded in Xymon.  The function dotgiffilename() in lib/color.c appends ".gif" to the color name when generating webpages.  You could change the source code and re-compile.  But suspect that if you simply rename your PNG files to have a .gif extension, then they'll be recognised by the browser, and displayed correctly anyway.</div>
</div>
</div>
</div>
</blockquote>
<div dir="ltr">
<div class="gmail_extra">
<div> </div>
<div>Hmm, yes - that is absolutely stupid. The patch for removing that is rather trivial, I'll include it in the next release (4.3.13, due this week).</div>
</div>
<div> </div>
<div>Regards,</div>
<div>Henrik</div>
<div> </div>
</div>
<p> </p>
<div> </div>
</body></html>