aboutsummaryrefslogtreecommitdiff
path: root/lib/python/Screens/EpgSelection.py
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2006-02-24 14:14:57 +0000
committerFelix Domke <tmbinc@elitedvb.net>2006-02-24 14:14:57 +0000
commitdf7d9f3578c68b22c95ab9daa23bd0fa168f6d11 (patch)
treee02e31f3370f92ecaac63d6824942bafead2fbe6 /lib/python/Screens/EpgSelection.py
parent00baaebc6c9a408dcde721da3fed8b03a90fd28e (diff)
downloadenigma2-df7d9f3578c68b22c95ab9daa23bd0fa168f6d11.tar.gz
enigma2-df7d9f3578c68b22c95ab9daa23bd0fa168f6d11.zip
generic show/hide support for GUIComponents
Diffstat (limited to 'lib/python/Screens/EpgSelection.py')
-rw-r--r--lib/python/Screens/EpgSelection.py24
1 files changed, 12 insertions, 12 deletions
diff --git a/lib/python/Screens/EpgSelection.py b/lib/python/Screens/EpgSelection.py
index c8db81b3..378e0d89 100644
--- a/lib/python/Screens/EpgSelection.py
+++ b/lib/python/Screens/EpgSelection.py
@@ -155,25 +155,25 @@ class EPGSelection(Screen):
def applyButtonState(self, state):
if state == 1:
- self["now_button_sel"].showWidget()
- self["now_button"].hideWidget()
+ self["now_button_sel"].show()
+ self["now_button"].hide()
else:
- self["now_button"].showWidget()
- self["now_button_sel"].hideWidget()
+ self["now_button"].show()
+ self["now_button_sel"].hide()
if state == 2:
- self["next_button_sel"].showWidget()
- self["next_button"].hideWidget()
+ self["next_button_sel"].show()
+ self["next_button"].hide()
else:
- self["next_button"].showWidget()
- self["next_button_sel"].hideWidget()
+ self["next_button"].show()
+ self["next_button_sel"].hide()
if state == 3:
- self["more_button_sel"].showWidget()
- self["more_button"].hideWidget()
+ self["more_button_sel"].show()
+ self["more_button"].hide()
else:
- self["more_button"].showWidget()
- self["more_button_sel"].hideWidget()
+ self["more_button"].show()
+ self["more_button_sel"].hide()
def onSelectionChanged(self):
if self.type == EPG_TYPE_MULTI: