aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2007-07-14 08:08:25 +0000
committerFelix Domke <tmbinc@elitedvb.net>2007-07-14 08:08:25 +0000
commitd5d7fec0298f4c0f457170f84244a25fef6b5609 (patch)
tree3237eba50a540fa0a2b4114d1880cf9a0a165c10 /lib/python
parent11710c4924adbd4bbf01875808ac4d45be9c8649 (diff)
downloadenigma2-d5d7fec0298f4c0f457170f84244a25fef6b5609.tar.gz
enigma2-d5d7fec0298f4c0f457170f84244a25fef6b5609.zip
add showInfobarOrEpgWhenInfobarAlreadyVisible
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/InfoBarGenerics.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py
index c3d15f09..e2700992 100644
--- a/lib/python/Screens/InfoBarGenerics.py
+++ b/lib/python/Screens/InfoBarGenerics.py
@@ -406,8 +406,16 @@ class InfoBarEPG:
self["EPGActions"] = HelpableActionMap(self, "InfobarEPGActions",
{
"showEventInfo": (self.openEventView, _("show EPG...")),
+ "showInfobarOrEpgWhenInfobarAlreadyVisible": self.showEventInfoWhenNotVisible,
})
+ def showEventInfoWhenNotVisible(self):
+ if self.shown:
+ self.openEventView()
+ else:
+ self.toggleShow()
+ return 1
+
def zapToService(self, service):
if not service is None:
if self.servicelist.getRoot() != self.epg_bouquet: #already in correct bouquet?