Skip to content

Commit

Permalink
[ChannelSelection] Do not show menu and info key in SimpleChannelSele…
Browse files Browse the repository at this point in the history
…ction screens.

cherry-pick > OpenPLi/enigma2@fe6643b
  • Loading branch information
fairbird committed Jan 4, 2025
1 parent 00a90e1 commit 1219d18
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions lib/python/Screens/ChannelSelection.py
Original file line number Diff line number Diff line change
Expand Up @@ -1518,9 +1518,6 @@ def rightHelp():
self["key_yellow"] = Button(_("Provider"))
self["key_blue"] = Button(_("Favourites"))

self["key_menu"] = StaticText(_("MENU"))
self["key_info"] = StaticText(_("INFO"))

self["list"] = ServiceListLegacy(self) if config.channelSelection.screenStyle.value == "" or config.channelSelection.widgetStyle.value == "" else ServiceList(self)
self.servicelist = self["list"]

Expand Down Expand Up @@ -2749,6 +2746,9 @@ def __init__(self, session, infobar):

self.info = session.instantiateDialog(RadioInfoBar) # our simple infobar

self["key_menu"] = StaticText(_("MENU"))
self["key_info"] = StaticText(_("INFO"))

self["actions"] = ActionMap(["OkCancelActions", "TvRadioActions"],
{
"keyTV": self.cancel,
Expand Down Expand Up @@ -2900,6 +2900,10 @@ def __init__(self, session, title, currentBouquet=False, returnBouquet=False, se
self["list"] = ServiceListLegacy(self) # Force legacy list
self.servicelist = self["list"]
SelectionEventInfo.__init__(self)

self["key_menu"] = StaticText(_("MENU"))
self["key_info"] = StaticText(_("INFO"))

self["actions"] = ActionMap(["OkCancelActions", "TvRadioActions"],
{
"cancel": self.close,
Expand Down

0 comments on commit 1219d18

Please sign in to comment.