update new installation paths
svn: r6046
This commit is contained in:
@@ -62,7 +62,7 @@ class PersonPreviewFrame(PreviewFrameBase):
|
||||
self._image = gtk.Image()
|
||||
|
||||
# test image
|
||||
self._image.set_from_file(os.path.join(const.rootDir,"person.svg"))
|
||||
self._image.set_from_file(os.path.join(const.image_dir,"person.svg"))
|
||||
|
||||
# Text
|
||||
label = gtk.Label()
|
||||
@@ -142,7 +142,7 @@ class PersonPreviewFrame(PreviewFrameBase):
|
||||
pixbuf = ImgManip.get_thumbnail_image(mobj.get_path())
|
||||
self._image.set_from_pixbuf(pixbuf)
|
||||
else:
|
||||
self._image.set_from_file(os.path.join(const.rootDir,"person.svg"))
|
||||
self._image.set_from_file(os.path.join(const.image_dir,"person.svg"))
|
||||
|
||||
self._label.set_markup(self._get_text_preview(person))
|
||||
|
||||
@@ -157,7 +157,7 @@ class PersonPreviewFrame(PreviewFrameBase):
|
||||
|
||||
|
||||
def clear_object(self):
|
||||
self._image.set_from_file(os.path.join(const.rootDir,"person.svg"))
|
||||
self._image.set_from_file(os.path.join(const.image_dir,"person.svg"))
|
||||
self._label.set_markup("")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user