git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add icon for dvd player
[enigma2.git]
/
skin.py
diff --git
a/skin.py
b/skin.py
index 21ec62ae4cefbc733315480b117e3e64b7b96321..26c08207df24ed04d2ac96d4086e3e4af4984ca1 100644
(file)
--- a/
skin.py
+++ b/
skin.py
@@
-106,7
+106,13
@@
def collectAttributes(skinAttributes, node, skin_path_prefix=None, ignore=[]):
skinAttributes.append((attrib, value))
def loadPixmap(path, desktop):
skinAttributes.append((attrib, value))
def loadPixmap(path, desktop):
- ptr = LoadPixmap(path, desktop)
+ cached = False
+ option = path.find("#")
+ if option != -1:
+ options = path[option+1:].split(',')
+ path = path[:option]
+ cached = "cached" in options
+ ptr = LoadPixmap(path, desktop, cached)
if ptr is None:
raise SkinError("pixmap file %s not found!" % (path))
return ptr
if ptr is None:
raise SkinError("pixmap file %s not found!" % (path))
return ptr