Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
VIGNET Pierre
cadbiom
Commits
0ae142d0
Commit
0ae142d0
authored
Sep 16, 2017
by
VIGNET Pierre
Browse files
Update setup.py & manifest & path for images displayed in gui
parent
1973f368
Changes
3
Hide whitespace changes
Inline
Side-by-side
gui/MANIFEST.in
View file @
0ae142d0
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/*
gui/cadbiom_gui/gt_gui/chart_misc_widgets.py
View file @
0ae142d0
...
...
@@ -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
()
...
...
gui/cadbiom_gui/gt_gui/charter.py
View file @
0ae142d0
...
...
@@ -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
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment