2007-09-10 Don Allingham <don@gramps-project.org>
* src/ThumbNails.py: Added to handle the thumbnailing routines * src/DataViews/_MediaView.py: thumbnail updates * src/DataViews/_PedigreeView.py: thumbnail updates * src/DataViews/_RelationView.py: thumbnail updates * src/Editors/_EditMediaRef.py: thumbnail updates * src/Editors/_EditMedia.py: thumbnail updates * src/DisplayTabs/_GalleryTab.py: thumbnail updates * src/plugins/WebCal.py: thumbnail updates * src/plugins/NarrativeWeb.py: thumbnail updates * src/plugins/GraphViz.py: thumbnail updates * src/plugins/SimpleBookTitle.py: thumbnail updates * src/plugins/FamilyLines.py: thumbnail updates * src/DbManager.py: pylint fixes * src/ImgManip.py: pull out thumbnail routines 2007-09-08 Benny Malengier <benny.malengier@gramps-project.org> * src/DataViews/_RelationView.py : expand/collapse, edit button on/off bug fix svn: r8958
This commit is contained in:
@@ -46,7 +46,7 @@ import BaseDoc
|
||||
from Selectors import selector_factory
|
||||
SelectObject = selector_factory('MediaObject')
|
||||
import AddMedia
|
||||
import ImgManip
|
||||
import ThumbNails
|
||||
|
||||
#------------------------------------------------------------------------
|
||||
#
|
||||
@@ -253,8 +253,8 @@ class SimpleBookTitleOptions(ReportOptions):
|
||||
return
|
||||
self.options_dict['imgid'] = the_object.get_gramps_id()
|
||||
self.obj_title.set_text(the_object.get_description())
|
||||
icon_image = ImgManip.get_thumbnail_image(the_object.get_path(),
|
||||
the_object.get_mime_type())
|
||||
icon_image = ThumbNails.get_thumbnail_image(the_object.get_path(),
|
||||
the_object.get_mime_type())
|
||||
self.preview.set_from_pixbuf(icon_image)
|
||||
self.remove_obj_button.set_sensitive(True)
|
||||
self.size.set_sensitive(True)
|
||||
|
||||
Reference in New Issue
Block a user