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

svn: r10492
This commit is contained in:
Brian Matherly 2008-04-06 03:36:36 +00:00
parent 504621b3ba
commit 06cf9ea0fd

View File

@ -153,8 +153,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: