Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/atoidejouer/tools/ui.py
diff options
context:
space:
mode:
authorFlorent Pigout <florent.pigout@gmail.com>2011-11-09 00:58:19 (GMT)
committer Florent Pigout <florent.pigout@gmail.com>2011-11-09 00:58:19 (GMT)
commitbcae501e0449595ffe44c423146640e8eb211023 (patch)
tree947b878ba920d6f65f079c6ce771a3c8b9549599 /atoidejouer/tools/ui.py
parentb10eff973ee3efd893aaa6a2247f75cb50bccee1 (diff)
manage included storie + fix some performance issues
Diffstat (limited to 'atoidejouer/tools/ui.py')
-rw-r--r--atoidejouer/tools/ui.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/atoidejouer/tools/ui.py b/atoidejouer/tools/ui.py
index 0b0fa76..7a5b69e 100644
--- a/atoidejouer/tools/ui.py
+++ b/atoidejouer/tools/ui.py
@@ -45,7 +45,7 @@ def get_button(label=None, stock_id=None, img_name=None, width=-1,
_img.show()
# get img path
_i_path = storage.get_icon_path(stock_id) if img_name is None\
- else storage.get_image_path(img_name)
+ else storage.get_image_path(img_name, dir_="data")
# set image
if img_size is None:
_img.set_from_file(_i_path)