2006-08-04  Alex Roitman  <shura@gramps-project.org>
	* src/DataViews/_MediaView.py (row_change): Work around older pygtk.
	* src/Filters/Rules/Family/Makefile.am (pkgdata_PYTHON): Ship new
	files. 
	* src/Filters/Rules/Makefile.am (pkgdata_PYTHON): Ship new file.

In po:
2006-08-04  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Unlist plugins that are not shipped.



svn: r7120
This commit is contained in:
Alex Roitman
2006-08-04 19:36:18 +00:00
parent bbdb648dec
commit 49d002f75c
6 changed files with 26 additions and 9 deletions

View File

@@ -130,7 +130,12 @@ class MediaView(PageView.ListView):
def row_change(self,obj):
handle = self.first_selected()
if not handle:
self.image.clear()
try:
self.image.clear()
except AttributeError:
# Working around the older pygtk
# that lacks clear() method for gtk.Image()
self.image.set_from_file(None)
else:
obj = self.dbstate.db.get_object_from_handle(handle)
pix = ImgManip.get_thumbnail_image(obj.get_path())