aboutsummaryrefslogtreecommitdiff
path: root/lib/python
diff options
context:
space:
mode:
authorFelix Domke <tmbinc@elitedvb.net>2005-12-11 22:26:45 +0000
committerFelix Domke <tmbinc@elitedvb.net>2005-12-11 22:26:45 +0000
commit142e649e1eb5f6e74f81a69bc7c7e093fb8716c9 (patch)
tree47168e6e95c342530429745e7d52efa9b82c3861 /lib/python
parentf6dd5c01534a65e2956d0910664ba9eb04985e25 (diff)
downloadenigma2-142e649e1eb5f6e74f81a69bc7c7e093fb8716c9.tar.gz
enigma2-142e649e1eb5f6e74f81a69bc7c7e093fb8716c9.zip
make infobar actions helpable
Diffstat (limited to 'lib/python')
-rw-r--r--lib/python/Screens/InfoBar.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/python/Screens/InfoBar.py b/lib/python/Screens/InfoBar.py
index a48cb75c..b28ce515 100644
--- a/lib/python/Screens/InfoBar.py
+++ b/lib/python/Screens/InfoBar.py
@@ -4,7 +4,7 @@ from Screens.MovieSelection import MovieSelection
from Screens.MessageBox import MessageBox
from Components.Clock import Clock
-from Components.ActionMap import ActionMap
+from Components.ActionMap import ActionMap, HelpableActionMap
from Components.ServicePosition import ServicePosition
from Tools.Notifications import AddNotificationWithCallback
@@ -30,9 +30,9 @@ class InfoBar(Screen, InfoBarVolumeControl, InfoBarShowHide, InfoBarPowerKey,
def __init__(self, session):
Screen.__init__(self, session)
- self["actions"] = ActionMap( [ "InfobarActions" ],
+ self["actions"] = HelpableActionMap(self, "InfobarActions",
{
- "showMovies": self.showMovies,
+ "showMovies": (self.showMovies, _("Play recorded movies..."))
})
for x in HelpableScreen, \
@@ -60,9 +60,9 @@ class MoviePlayer(Screen, InfoBarVolumeControl, InfoBarShowHide, InfoBarPowerKey
def __init__(self, session, service):
Screen.__init__(self, session)
- self["actions"] = ActionMap( [ "MoviePlayerActions" ],
+ self["actions"] = HelpableActionMap(self, "MoviePlayerActions",
{
- "leavePlayer": self.leavePlayer
+ "leavePlayer": (self.leavePlayer, _("leave movie player..."))
})
for x in HelpableScreen, InfoBarVolumeControl, InfoBarShowHide, InfoBarPowerKey, InfoBarMenu, InfoBarServiceName, InfoBarPVR, InfoBarAudioSelection, InfoBarNotifications: