Fix build-in icons on Windows.

This commit is contained in:
Lukáš Lalinský
2007-01-06 11:55:09 +01:00
parent 20ef6429d9
commit bbcaf185ac

View File

@@ -51,5 +51,5 @@ def lookup(name, size=ICON_SIZE_ALL):
icon.addFile(os.path.join(path, _current_theme, s, subdir, name) + '.png')
return icon
for s in size:
icon.addFile(os.path.join(':', 'images', s, name) + '.png')
icon.addFile('/'.join([':', 'images', s, name]) + '.png')
return icon