git.cweiske.de
/
enigma2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
generic show/hide support for GUIComponents
[enigma2.git]
/
lib
/
python
/
Screens
/
EpgSelection.py
diff --git
a/lib/python/Screens/EpgSelection.py
b/lib/python/Screens/EpgSelection.py
index c8db81b33ba4ed8662f5f2409f013a9add88ff10..378e0d8976b727539cc351a9ec70b4d3cceef628 100644
(file)
--- 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:
def applyButtonState(self, state):
if state == 1:
- self["now_button_sel"].show
Widget
()
- self["now_button"].hide
Widget
()
+ self["now_button_sel"].show()
+ self["now_button"].hide()
else:
else:
- self["now_button"].show
Widget
()
- self["now_button_sel"].hide
Widget
()
+ self["now_button"].show()
+ self["now_button_sel"].hide()
if state == 2:
if state == 2:
- self["next_button_sel"].show
Widget
()
- self["next_button"].hide
Widget
()
+ self["next_button_sel"].show()
+ self["next_button"].hide()
else:
else:
- self["next_button"].show
Widget
()
- self["next_button_sel"].hide
Widget
()
+ self["next_button"].show()
+ self["next_button_sel"].hide()
if state == 3:
if state == 3:
- self["more_button_sel"].show
Widget
()
- self["more_button"].hide
Widget
()
+ self["more_button_sel"].show()
+ self["more_button"].hide()
else:
else:
- self["more_button"].show
Widget
()
- self["more_button_sel"].hide
Widget
()
+ self["more_button"].show()
+ self["more_button_sel"].hide()
def onSelectionChanged(self):
if self.type == EPG_TYPE_MULTI:
def onSelectionChanged(self):
if self.type == EPG_TYPE_MULTI: