Revert "Solve typo included in the three previous commits from IMS"
authorlittlesat <littlesat99@yahoo.com>
Fri, 16 Jan 2015 10:01:39 +0000 (11:01 +0100)
committerlittlesat <littlesat99@yahoo.com>
Fri, 16 Jan 2015 10:01:39 +0000 (11:01 +0100)
This reverts commit 68d9f8c75d7939a120067e90ae2aa9afb36bfc91.

As we discovered a better way to do this

lib/python/Components/FileList.py
lib/python/Components/PluginList.py
lib/python/Components/SelectionList.py

index a260fb0..0a08826 100644 (file)
@@ -85,7 +85,7 @@ class FileList(MenuList):
                for (attrib, value) in self.skinAttributes:
                        try:
                                locals().get(attrib)(value)
-                               self.skinAttributes.remove((attrib, value))
+                               self.skinAttributes((attrib, value))
                        except:
                                pass
                self.l.setFont(0, self.itemFont)
@@ -325,7 +325,7 @@ class MultiFileSelectList(FileList):
                for (attrib, value) in self.skinAttributes:
                        try:
                                locals().get(attrib)(value)
-                               self.skinAttributes.remove((attrib, value))
+                               self.skinAttributes((attrib, value))
                        except:
                                pass
                self.l.setItemHeight = self.itemHeight
index 4e3db5b..b86a1c6 100644 (file)
@@ -89,7 +89,7 @@ class PluginList(MenuList):
                for (attrib, value) in self.skinAttributes:
                        try:
                                locals().get(attrib)(value)
-                               self.skinAttributes.remove((attrib, value))
+                               self.skinAttributes((attrib, value))
                        except:
                                pass
                self.l.setFont(0, self.itemNameFont)
index 97c15e9..b8ae68d 100644 (file)
@@ -28,7 +28,7 @@ class SelectionList(MenuList):
                for (attrib, value) in self.skinAttributes:
                        try:
                                locals().get(attrib)(value)
-                               self.skinAttributes.remove((attrib, value))
+                               self.skinAttributes((attrib, value))
                        except:
                                pass
                self.l.setFont(0, self.itemFont)