From: Felix Domke Date: Wed, 24 Jun 2009 21:47:30 +0000 (+0200) Subject: Merge branch 'master' of git.opendreambox.org:/git/enigma2 X-Git-Tag: 2.6.0~231 X-Git-Url: https://git.cweiske.de/enigma2.git/commitdiff_plain/69ad5b69a69b3a9006824832afb3fa8cecb061b9?hp=77bc87782b4c84b835649f6125b89de33d12c46e Merge branch 'master' of git.opendreambox.org:/git/enigma2 --- 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