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:
@@ -44,7 +44,7 @@ import os
|
||||
#-------------------------------------------------------------------------
|
||||
import RelLib
|
||||
import Utils
|
||||
import ImgManip
|
||||
import ThumbNails
|
||||
import Errors
|
||||
import Mime
|
||||
from DdTargets import DdTargets
|
||||
@@ -190,8 +190,8 @@ class GalleryTab(ButtonTab):
|
||||
for ref in self.media_list:
|
||||
handle = ref.get_reference_handle()
|
||||
obj = self.dbstate.db.get_object_from_handle(handle)
|
||||
pixbuf = ImgManip.get_thumbnail_image(obj.get_path(),
|
||||
obj.get_mime_type())
|
||||
pixbuf = ThumbNails.get_thumbnail_image(obj.get_path(),
|
||||
obj.get_mime_type())
|
||||
self.iconmodel.append(row=[pixbuf, obj.get_description(), ref])
|
||||
self._connect_icon_model()
|
||||
self._set_label()
|
||||
|
Reference in New Issue
Block a user