aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py
diff options
context:
space:
mode:
authorAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-10-25 09:33:31 +0000
committerAndreas Monzner <andreas.monzner@multimedia-labs.de>2007-10-25 09:33:31 +0000
commit8f80c7c5867d6eddde43a612b25e67b6435e44b4 (patch)
treef1b73b8815f0e808ae154e01ab3b3b2c8c6a0bc6 /lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py
parent284233d482e55827b76f1c687c98f4a49a8d6fd4 (diff)
downloadenigma2-8f80c7c5867d6eddde43a612b25e67b6435e44b4.tar.gz
enigma2-8f80c7c5867d6eddde43a612b25e67b6435e44b4.zip
ignore applySkin when skinAttributes is None
Diffstat (limited to 'lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py')
-rw-r--r--lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py27
1 files changed, 14 insertions, 13 deletions
diff --git a/lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py b/lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py
index 9a8b4935..9040539a 100644
--- a/lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py
+++ b/lib/python/Plugins/Extensions/GraphMultiEPG/GraphMultiEpg.py
@@ -49,19 +49,20 @@ class EPGList(HTMLComponent, GUIComponent):
self.backColorSelected = 0x808080
def applySkin(self, desktop):
- attribs = [ ]
- for (attrib, value) in self.skinAttributes:
- if attrib == "EntryForegroundColor":
- self.foreColor = parseColor(value).argb()
- elif attrib == "EntryBorderColor":
- self.borderColor = parseColor(value).argb()
- elif attrib == "EntryBackgroundColor":
- self.backColor = parseColor(value).argb()
- elif attrib == "EntryBackgroundColorSelected":
- self.backColorSelected = parseColor(value).argb()
- else:
- attribs.append((attrib,value))
- self.skinAttributes = attribs
+ if self.skinAttributes is not None:
+ attribs = [ ]
+ for (attrib, value) in self.skinAttributes:
+ if attrib == "EntryForegroundColor":
+ self.foreColor = parseColor(value).argb()
+ elif attrib == "EntryBorderColor":
+ self.borderColor = parseColor(value).argb()
+ elif attrib == "EntryBackgroundColor":
+ self.backColor = parseColor(value).argb()
+ elif attrib == "EntryBackgroundColorSelected":
+ self.backColorSelected = parseColor(value).argb()
+ else:
+ attribs.append((attrib,value))
+ self.skinAttributes = attribs
return GUIComponent.applySkin(self, desktop)
def isSelectable(self, service, sname, event_list):