aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Plugins
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-05-01 11:47:43 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-05-01 11:47:43 +0000
commit1e47451f8abff2c775456eafa2a8377370ea5f6d (patch)
tree12d218d6d73b5891c2fcd237ecfd77202fb1cac1 /lib/python/Plugins
parentc0d78035b8c76e719bf7c05ff3812eb5a6ce9fe3 (diff)
downloadenigma2-1e47451f8abff2c775456eafa2a8377370ea5f6d.tar.gz
enigma2-1e47451f8abff2c775456eafa2a8377370ea5f6d.zip
follow changes
Diffstat (limited to 'lib/python/Plugins')
-rw-r--r--lib/python/Plugins/Extensions/CutListEditor/plugin.py16
1 files changed, 6 insertions, 10 deletions
diff --git a/lib/python/Plugins/Extensions/CutListEditor/plugin.py b/lib/python/Plugins/Extensions/CutListEditor/plugin.py
index a5adc51a..b17fa176 100644
--- a/lib/python/Plugins/Extensions/CutListEditor/plugin.py
+++ b/lib/python/Plugins/Extensions/CutListEditor/plugin.py
@@ -111,21 +111,17 @@ class CutList(GUIComponent):
def getCurrentIndex(self):
return self.l.getCurrentSelectionIndex()
- def GUIcreate(self, parent):
- self.instance = eListbox(parent)
- self.instance.setContent(self.l)
- self.instance.setItemHeight(30)
- self.instance.selectionChanged.get().append(self.selectionChanged)
+ GUI_WIDGET = eListbox
+
+ def postWidgetCreate(self, instance):
+ instance.setContent(self.l)
+ instance.setItemHeight(30)
+ instance.selectionChanged.get().append(self.selectionChanged)
def selectionChanged(self):
for x in self.onSelectionChanged:
x()
- def GUIdelete(self):
- self.instance.selectionChanged.get().remove(self.selectionChanged)
- self.instance.setContent(None)
- self.instance = None
-
def invalidateEntry(self, index):
self.l.invalidateEntry(index)