[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Wrong icon sizes in /etc/viewcvs.conf



On Tue, Sep 25, 2001 at 10:20:43AM +0200, Martin Schulze wrote:
> > villate@klecker:~$ diff -u /etc/viewcvs.conf viewcvs.conf        
> > --- /etc/viewcvs.conf   Sun Apr 22 08:49:46 2001
> > +++ viewcvs.conf        Tue Sep  4 05:49:23 2001
> > @@ -179,9 +179,9 @@
> >  # they are normally available in a standard Apache distribution, along
> >  # with larger versions if these are too small for you.
> >  #
> > -back_icon = /icons/back.gif, 16, 16
> > -dir_icon  = /icons/dir.gif, 16, 16
> > -file_icon = /icons/text.gif, 16, 16
> > +back_icon = /icons/back.gif, 20, 22
> > +dir_icon  = /icons/dir.gif, 20, 22
> > +file_icon = /icons/text.gif, 20, 22
> 
> Why should we do that?
> 
> Please check:
> 
> klecker!joey(pts/3):/usr/share/doc/viewcvs/icons> imgsize *.gif
> back.gif: WIDTH=16 HEIGHT=16
> dir.gif: WIDTH=16 HEIGHT=16
> text.gif: WIDTH=16 HEIGHT=16
> 
> So their size is 16x16 actually.

Please check in "the right place":

villate@klecker:/usr/share/apache/icons$ imgsize dir.gif text.gif back.gif
dir.gif: WIDTH=20 HEIGHT=22
text.gif: WIDTH=20 HEIGHT=22
back.gif: WIDTH=20 HEIGHT=22

The viewcvs conf. file defines the icon dir as "/icon", relative to http-root,
and not relative to viewcvs-root. If you're still not convinced, take a look at
http://cvs.debian.org/icons/ and see what icons you're currently getting.

Jaime Villate



Reply to: