* src/EditPerson.py: Allow the photo to accept events, allowing us
to display a popup menu similar to galleries * src/gramps.glade: Add eventbox to the image, allowing events * src/MediaView.py: use object handle instead of gramps ID when getting value from the list. svn: r3764
This commit is contained in:
@ -337,7 +337,8 @@ class MediaView:
|
||||
if not node:
|
||||
return
|
||||
if (const.dnd_images):
|
||||
obj = self.db.get_object_from_handle(store.get_value(node,1))
|
||||
handle = store.get_value(node,5)
|
||||
obj = self.db.get_object_from_handle(handle)
|
||||
image = self.db.get_thumbnail_image(obj.get_handle())
|
||||
context.set_icon_pixbuf(image,0,0)
|
||||
|
||||
|
Reference in New Issue
Block a user