Commit 37f23a11 authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

Fix missing legend file; fix url of online manual

parent ed6359d6
...@@ -320,7 +320,11 @@ class LegendWindow(object): ...@@ -320,7 +320,11 @@ class LegendWindow(object):
self.win.set_position(gtk.WIN_POS_CENTER) self.win.set_position(gtk.WIN_POS_CENTER)
self.win.connect("destroy", self.on_destroy) self.win.connect("destroy", self.on_destroy)
image = gtk.Image() image = gtk.Image()
image.set_from_file("cadbiom_gui/gt_gui/legend.png") template = pkg_resources.resource_filename(
__name__,
"legend.png"
)
image.set_from_file(template)
image.show() image.show()
self.win.add(image) self.win.add(image)
......
...@@ -618,7 +618,7 @@ class Charter(object): ...@@ -618,7 +618,7 @@ class Charter(object):
""" """
Doc Doc
""" """
url = 'doc/manual/manual.html' url = 'http://cadbiom.genouest.org/cw_support.html'
webbrowser.open(url) webbrowser.open(url)
return return
......
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