update new installation paths

svn: r6046
This commit is contained in:
Don Allingham
2006-03-03 00:17:58 +00:00
parent 55c41ac2f8
commit 4efbaaa16c
10 changed files with 49 additions and 36 deletions

View File

@ -105,16 +105,16 @@ class FamilyPreviewFrame(PreviewFrameBase):
image[image_no].set_from_pixbuf(pixbuf)
image_no += 1
else:
self._image_l.set_from_file(os.path.join(const.rootDir,"person.svg"))
self._image_r.set_from_file(os.path.join(const.rootDir,"person.svg"))
self._image_l.set_from_file(os.path.join(const.image_dir,"person.svg"))
self._image_r.set_from_file(os.path.join(const.image_dir,"person.svg"))
except:
log.warn("Failed to generate preview for family", exc_info=True)
self.clear_object()
def clear_object(self):
self._image_l.set_from_file(os.path.join(const.rootDir,"person.svg"))
self._image_r.set_from_file(os.path.join(const.rootDir,"person.svg"))
self._image_l.set_from_file(os.path.join(const.image_dir,"person.svg"))
self._image_r.set_from_file(os.path.join(const.image_dir,"person.svg"))
if gtk.pygtk_version < (2,8,0):