diff options
Diffstat (limited to 'lib/python/Screens/Menu.py')
| -rw-r--r-- | lib/python/Screens/Menu.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/lib/python/Screens/Menu.py b/lib/python/Screens/Menu.py index 1b0ef1a3..5ff929c6 100644 --- a/lib/python/Screens/Menu.py +++ b/lib/python/Screens/Menu.py @@ -205,8 +205,14 @@ class Menu(Screen): for l in plugins.getPluginsForMenu(menuID): list.append((l[0], boundFunction(l[1], self.session))) + # for the skin: first try a menu_<menuID>, then Menu + self.skinName = [ ] + if menuID is not None: + self.skinName.append("menu_" + menuID) + self.skinName.append("Menu") + self["menu"] = List(list) - + self["actions"] = ActionMap(["OkCancelActions", "MenuActions"], { "ok": self.okbuttonClick, @@ -233,5 +239,5 @@ class MainMenu(Menu): #add file load functions for the xml-file def __init__(self, *x): - Menu.__init__(self, *x) self.skinName = "Menu" + Menu.__init__(self, *x) |
