override doContext and channelSelected in SimpleChannelSelection
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Tue, 22 Nov 2005 13:09:38 +0000 (13:09 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Tue, 22 Nov 2005 13:09:38 +0000 (13:09 +0000)
lib/python/Screens/ChannelSelection.py

index 890fd3e..1c1e450 100644 (file)
@@ -380,4 +380,10 @@ class SimpleChannelSelection(ChannelSelection):
                ChannelSelection.__init__(self, session)
                self.args = args
                
                ChannelSelection.__init__(self, session)
                self.args = args
                
+       def channelSelected(self): # just return selected service
+               ref = self.servicelist.getCurrent()
+               self.close(ref)
+               
+       def doContext(self): # don't show context menu
+               pass
                
\ No newline at end of file
                
\ No newline at end of file