* src/gramps_main.py: update properly after an edit
* src/Utils.py: generate correct path name, using gramps id instead of handle * src/ImageSelect.py: select correct path name for thumbnail * src/PeopleModel.py: move to a table driven format for handling columns svn: r3513
This commit is contained in:
@ -341,7 +341,7 @@ def thumb_path(dir,mobj):
|
||||
mime_type = mobj.get_mime_type()
|
||||
|
||||
if mime_type[0:5] == "image":
|
||||
thumb = "%s/.thumb/%s.jpg" % (os.path.dirname(dir),mobj.get_handle())
|
||||
thumb = "%s/.thumb/%s.jpg" % (os.path.dirname(dir),mobj.get_gramps_id())
|
||||
try:
|
||||
if RelImage.check_thumb(mobj.get_path(),thumb,const.thumbScale):
|
||||
return thumb
|
||||
|
Reference in New Issue
Block a user