diff options
| author | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-10-10 13:46:16 +0000 |
|---|---|---|
| committer | Stefan Pluecken <stefan.pluecken@multimedia-labs.de> | 2006-10-10 13:46:16 +0000 |
| commit | d29dad2c2d56f1664fd7bedf08b5e45ceb85d47c (patch) | |
| tree | 83852628d3c9a723b31a8c614a82d3d5dcd5668d /lib/python/Screens | |
| parent | 40a2670abe4fb1e3d161b93ffbf4a441d729918a (diff) | |
| download | enigma2-d29dad2c2d56f1664fd7bedf08b5e45ceb85d47c.tar.gz enigma2-d29dad2c2d56f1664fd7bedf08b5e45ceb85d47c.zip | |
use service compare strings instead of eServiceReferences in parental control
Diffstat (limited to 'lib/python/Screens')
| -rw-r--r-- | lib/python/Screens/ChannelSelection.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/python/Screens/ChannelSelection.py b/lib/python/Screens/ChannelSelection.py index 58c57f41..54c48293 100644 --- a/lib/python/Screens/ChannelSelection.py +++ b/lib/python/Screens/ChannelSelection.py @@ -139,11 +139,11 @@ class ChannelContextMenu(Screen): self.close() def addParentalProtection(self, service): - parentalControl.protectService(service) + parentalControl.protectService(service.toCompareString()) self.close() def removeParentalProtection(self, service): - self.session.openWithCallback(boundFunction(self.pinEntered, service), PinInput, pinList = [config.ParentalControl.servicepin[0].value], title = _("Enter the service pin"), windowTitle = _("Change pin code")) + self.session.openWithCallback(boundFunction(self.pinEntered, service.toCompareString()), PinInput, pinList = [config.ParentalControl.servicepin[0].value], title = _("Enter the service pin"), windowTitle = _("Change pin code")) def pinEntered(self, service, result): if result[0]: |
