2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>

* src/ImageSelect.py (Gallery.on_drag_begin): tiny fix to correct image dnd


svn: r4273
This commit is contained in:
Richard Taylor 2005-04-01 14:42:47 +00:00
parent 3ee50ab98e
commit 70ed37833e
2 changed files with 4 additions and 1 deletions

View File

@ -1,3 +1,6 @@
2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/ImageSelect.py (Gallery.on_drag_begin): tiny fix to correct image dnd
2005-04-01 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/ScratchPad.py (ScratchPadListView.register_wrapper_classes,
ScratchPadName): added support for Names

View File

@ -276,7 +276,7 @@ class Gallery(ImageSelect):
if const.dnd_images:
handle = self.sel_obj.get_reference_handle()
media_obj = self.db.get_object_from_handle(handle)
pix = self.db.get_thumbnail_image(media_obj.get_path())
pix = ImgManip.get_thumbnail_image(media_obj.get_path())
context.set_icon_pixbuf(pix,0,0)
def item_event(self, widget, event=None):