diff options
| author | Felix Domke <tmbinc@2mac.waldobjekt.org> | 2009-06-24 23:47:22 +0200 |
|---|---|---|
| committer | Felix Domke <tmbinc@2mac.waldobjekt.org> | 2009-06-24 23:47:22 +0200 |
| commit | 5b3739ccccddb795ca7e75e60f202cbce5c78144 (patch) | |
| tree | a36f49ca7311ec883d9008a76cb5345a484b5e53 /lib/python/Screens | |
| parent | 88bae399660a892a61882f59251d9359750d3d3b (diff) | |
| download | enigma2-5b3739ccccddb795ca7e75e60f202cbce5c78144.tar.gz enigma2-5b3739ccccddb795ca7e75e60f202cbce5c78144.zip | |
also provide showInfobarOrEpgWhenInfobarAlreadyVisible in InfoBarSimpleEventView
Diffstat (limited to 'lib/python/Screens')
| -rw-r--r-- | lib/python/Screens/InfoBarGenerics.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py index 7f90b976..bfeb394b 100644 --- a/lib/python/Screens/InfoBarGenerics.py +++ b/lib/python/Screens/InfoBarGenerics.py @@ -366,8 +366,16 @@ class InfoBarSimpleEventView: self["EPGActions"] = HelpableActionMap(self, "InfobarEPGActions", { "showEventInfo": (self.openEventView, _("show event details")), + "showInfobarOrEpgWhenInfobarAlreadyVisible": self.showEventInfoWhenNotVisible, }) + def showEventInfoWhenNotVisible(self): + if self.shown: + self.openEventView() + else: + self.toggleShow() + return 1 + def openEventView(self): epglist = [ ] self.epglist = epglist |
