GNOME Bugzilla – Bug 159895
Small icons not rendering in list view
Last modified: 2004-12-22 21:47:04 UTC
Currently if you have an image that is smaller then the size of the preview in a list view, you do not get a preview but the ugly "paper" icon.
Created attachment 34291 [details] screenshot showing current behaviour
Created attachment 34292 [details] [review] The patch that fixes this The following simple patch solves that problem. Basically what happened was that base_size remained 0 when an image was smaller then the nominal_size. A couple of lines further image was then scaled by nominal_size / base_size which of course resulted in an error.
Created attachment 34293 [details] screenshot after the patch The patch just scales any image to the nominal size if force_nominal is set
in cvs. thanks,