Commit ae294e8c authored by VIGNET Pierre's avatar VIGNET Pierre

Update setup.py & manifest & path for images displayed in gui

parent f326c2a3
include README.md
recursive-include cadbiom_gui/gt_gui/chart_glade/ *.glade
include cadbiom_gui/gt_gui/legend.png
include cadbiom_gui/gt_gui/images/*
......@@ -324,7 +324,7 @@ class LegendWindow(object):
image = gtk.Image()
template = pkg_resources.resource_filename(
__name__,
"legend.png"
"images/legend.png"
)
image.set_from_file(template)
image.show()
......
......@@ -379,7 +379,7 @@ class Charter(object):
# Get resource
template = pkg_resources.resource_filename(
__name__,
image_file + '.png',
'images/' + image_file + '.png',
)
image.set_from_file(template)
widget.set_image(image)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment