diff options
| author | Felix Domke <tmbinc@elitedvb.net> | 2005-11-18 02:53:40 +0000 |
|---|---|---|
| committer | Felix Domke <tmbinc@elitedvb.net> | 2005-11-18 02:53:40 +0000 |
| commit | bf7e40884d7add91e219e9e70e83988ae7752bd8 (patch) | |
| tree | 3e1048ad0c2b1e32a5c7b3b24dbcb59cf1a7045a /lib/python/Screens/InfoBarGenerics.py | |
| parent | 81b381e1f5dd38ad1b80a3b3d96060b89a5fab6c (diff) | |
| download | enigma2-bf7e40884d7add91e219e9e70e83988ae7752bd8.tar.gz enigma2-bf7e40884d7add91e219e9e70e83988ae7752bd8.zip | |
add help stuff
Diffstat (limited to 'lib/python/Screens/InfoBarGenerics.py')
| -rw-r--r-- | lib/python/Screens/InfoBarGenerics.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/python/Screens/InfoBarGenerics.py b/lib/python/Screens/InfoBarGenerics.py index d9c42bdb..45c7745e 100644 --- a/lib/python/Screens/InfoBarGenerics.py +++ b/lib/python/Screens/InfoBarGenerics.py @@ -1,5 +1,5 @@ from Screen import Screen -from Components.ActionMap import ActionMap +from Components.ActionMap import ActionMap, HelpableActionMap from Components.ActionMap import NumberActionMap from Components.Label import Label from Components.config import configfile, configsequencearg @@ -235,12 +235,12 @@ class InfoBarChannelSelection: #instantiate forever self.servicelist = self.session.instantiateDialog(ChannelSelection) - self["ChannelSelectActions"] = ActionMap( ["InfobarChannelSelection"], + self["ChannelSelectActions"] = HelpableActionMap(self, "InfobarChannelSelection", { "switchChannelUp": self.switchChannelUp, "switchChannelDown": self.switchChannelDown, - "zapUp": self.zapUp, - "zapDown": self.zapDown, + "zapUp": (self.zapUp, _("next channel")), + "zapDown": (self.zapDown, _("previous channel")), }) def switchChannelUp(self): @@ -276,9 +276,9 @@ class InfoBarMenu: class InfoBarEPG: """ EPG - Opens an EPG list when the showEPGList action fires """ def __init__(self): - self["EPGActions"] = ActionMap( [ "InfobarEPGActions" ], + self["EPGActions"] = HelpableActionMap(self, "InfobarEPGActions", { - "showEPGList": self.showEPGList, + "showEPGList": (self.showEPGList, _("show EPG...")), }) def showEPGList(self): |
