Merge changes from gramps20 made since 2.0.5
svn: r5105
This commit is contained in:
@@ -120,3 +120,9 @@ def get_thumbnail_image(path):
|
||||
return gtk.gdk.pixbuf_new_from_file(filename)
|
||||
except gobject.GError:
|
||||
return None
|
||||
|
||||
def get_thumbnail_path(path):
|
||||
filename = _build_thumb_path(path)
|
||||
if not os.path.isfile(filename):
|
||||
set_thumbnail_image(path)
|
||||
return filename
|
||||
|
Reference in New Issue
Block a user