From 8d0856dd835ba61f91b65bd5db93e7caa56a8ba9 Mon Sep 17 00:00:00 2001 From: Brian Matherly Date: Sun, 6 Apr 2008 03:42:57 +0000 Subject: [PATCH] Fix thumbnail display of media files with accented characters in their names in the media editor. svn: r10494 --- src/Editors/_EditMedia.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Editors/_EditMedia.py b/src/Editors/_EditMedia.py index 3fc4492c8..2413aee14 100644 --- a/src/Editors/_EditMedia.py +++ b/src/Editors/_EditMedia.py @@ -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: