Skip to content

Commit ce4bd83

Browse files
committed
[Keymap]
* revert rename TVRadioActions because this is used elsewhere
1 parent c4e2279 commit ce4bd83

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

data/keymap.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,7 @@
415415
<key id="KEY_I" mapto="log" flags="m" />
416416
</map>
417417

418-
<map context="TVRadioActions">
418+
<map context="TvRadioActions">
419419
<key id="KEY_TV" mapto="keyTV" flags="m" />
420420
<key id="KEY_RADIO" mapto="keyRadio" flags="m" />
421421
<key id="KEY_TV2" mapto="keyTVRadio" flags="m" />

lib/python/Screens/VolumeControl.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def __init__(self, session):
5252
Setup.__init__(self, session, setup="VolumeAdjust")
5353
self["key_yellow"] = StaticText()
5454
self["key_blue"] = StaticText()
55-
self["offsetActions"] = HelpableActionMap(self, ["ColorActions", "TVRadioActions"], {
55+
self["offsetActions"] = HelpableActionMap(self, ["ColorActions", "TvRadioActions"], {
5656
"yellow": (self.keyAddRemoveService, _("Add/Remove the current service to/from the Volume Offset list")),
5757
"keyTV": (self.keyAddTVService, _("Add a TV service to the Volume Offset list")),
5858
"keyRadio": (self.keyAddRadioService, _("Add a RADIO service to the Volume Offset list")),
@@ -230,15 +230,15 @@ def __init__(self, session, mode):
230230
info = service.info()
231231
if info:
232232
self.servicelist.setPlayableIgnoreService(eServiceReference(info.getInfoString(iServiceInformation.sServiceref)))
233-
self["volumeServiceActions"] = HelpableActionMap(self, ["SelectCancelActions", "TVRadioActions"], {
233+
self["volumeServiceActions"] = HelpableActionMap(self, ["SelectCancelActions", "TvRadioActions"], {
234234
"select": (self.keySelect, _("Select the currently highlighted service")),
235235
"cancel": (self.keyCancel, _("Cancel the service selection")),
236236
"keyTVRadio": (self.keyModeToggle, _("Toggle between the available TV and RADIO services"))
237237
}, prio=0, description=_("Volume Adjust Service Selection Actions"))
238-
self["tvAction"] = HelpableActionMap(self, ["TVRadioActions"], {
238+
self["tvAction"] = HelpableActionMap(self, ["TvRadioActions"], {
239239
"keyTV": (self.keyModeTV, _("Switch to the available TV services"))
240240
}, prio=0, description=_("Volume Adjust Service Selection Actions"))
241-
self["radioAction"] = HelpableActionMap(self, ["TVRadioActions"], {
241+
self["radioAction"] = HelpableActionMap(self, ["TvRadioActions"], {
242242
"keyRadio": (self.keyModeRadio, _("Switch to the available RADIO services"))
243243
}, prio=0, description=_("Volume Adjust Service Selection Actions"))
244244
match mode:

0 commit comments

Comments
 (0)