git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
change record option ordering
[enigma2.git]
/
skin.py
diff --git
a/skin.py
b/skin.py
index eae6ea4b4e6c941d832e8130221ecc2b7dac223e..03fe96bb58168f401a1fcc948e193238b3b84dc3 100644
(file)
--- a/
skin.py
+++ b/
skin.py
@@
-274,7
+274,7
@@
def loadSingleSkinData(desktop, skin, path_prefix):
colorNames[name] = parseColor(color)
#print "Color:", name, color
else:
colorNames[name] = parseColor(color)
#print "Color:", name, color
else:
- raise ("need color and name, got %s %s" % (name, color))
+ raise
SkinError
("need color and name, got %s %s" % (name, color))
for c in skin.findall("fonts"):
for font in c.findall("font"):
for c in skin.findall("fonts"):
for font in c.findall("font"):
@@
-335,7
+335,7
@@
def loadSingleSkinData(desktop, skin, path_prefix):
try:
style.setColor(eWindowStyleSkinned.__dict__["col" + type], color)
except:
try:
style.setColor(eWindowStyleSkinned.__dict__["col" + type], color)
except:
- raise ("Unknown color %s" % (type))
+ raise
SkinError
("Unknown color %s" % (type))
#pass
#print " color:", type, color
#pass
#print " color:", type, color