update new installation paths
svn: r6046
This commit is contained in:
@ -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):
|
||||
|
Reference in New Issue
Block a user