mirror of
https://github.com/fergalmoran/picard.git
synced 2026-02-19 22:23:59 +00:00
Fix build-in icons on Windows.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user