Fix thumbnail display of media files with accented characters in their names in the media editor.

svn: r10494
This commit is contained in:
Brian Matherly 2008-04-06 03:42:57 +00:00
parent 66b789434e
commit 8d0856dd83

View File

@ -154,8 +154,7 @@ class EditMedia(EditPrimary):
def draw_preview(self):
mtype = self.obj.get_mime_type()
if mtype:
pb = ThumbNails.get_thumbnail_image(Utils.find_file(
Utils.media_path_full(self.db, self.obj.get_path())),
pb = ThumbNails.get_thumbnail_image(Utils.media_path_full(self.db, self.obj.get_path()),
mtype)
self.pixmap.set_from_pixbuf(pb)
else: