Image fixes

svn: r1286
This commit is contained in:
Don Allingham
2003-02-05 13:53:00 +00:00
parent 3cd92882fd
commit 4d69982b87
11 changed files with 200 additions and 74 deletions

View File

@@ -136,7 +136,8 @@ class MediaView:
if pexists and os.path.exists(thumb_path):
self.preview.set_from_pixbuf(gtk.gdk.pixbuf_new_from_file(thumb_path))
else:
self.preview.set_from_pixbuf(Utils.find_icon(type))
icon_image = gtk.gdk.pixbuf_new_from_file(Utils.find_icon(type))
self.preview.set_from_pixbuf(icon_image)
if not pexists:
fexists = 0