aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Components/Converter
diff options
context:
space:
mode:
Diffstat (limited to 'lib/python/Components/Converter')
-rw-r--r--lib/python/Components/Converter/Poll.py6
-rw-r--r--lib/python/Components/Converter/StringList.py4
2 files changed, 8 insertions, 2 deletions
diff --git a/lib/python/Components/Converter/Poll.py b/lib/python/Components/Converter/Poll.py
index 2b81e325..060c12ea 100644
--- a/lib/python/Components/Converter/Poll.py
+++ b/lib/python/Components/Converter/Poll.py
@@ -23,3 +23,9 @@ class Poll(object):
def poll(self):
self.changed((self.CHANGED_POLL,))
+
+ def doSuspend(self, suspended):
+ self.enabled = not suspended
+ if not suspended:
+ self.poll()
+
diff --git a/lib/python/Components/Converter/StringList.py b/lib/python/Components/Converter/StringList.py
index d5421976..ed264651 100644
--- a/lib/python/Components/Converter/StringList.py
+++ b/lib/python/Components/Converter/StringList.py
@@ -7,11 +7,11 @@ class StringList(Converter):
def __init__(self, type):
Converter.__init__(self, type)
- def changed(self):
+ def changed(self, what):
self.content = eListboxPythonStringContent()
if self.source:
self.content.setList(self.source.list)
- self.downstream_elements.changed()
+ self.downstream_elements.changed(what)
def selectionChanged(self, index):
self.source.selectionChanged(index)