Fix thumbnail display of media files with accented characters in their names in the media editor.
svn: r10494
This commit is contained in:
parent
66b789434e
commit
8d0856dd83
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user