X-Git-Url: https://git.cweiske.de/enigma2.git/blobdiff_plain/6ac5293d96c9fcd2961d3a71c635c485cf254a1d..075ad90b31e50c2b737acc6bc0b20ae6764ceffb:/lib/python/Screens/Menu.py
diff --git a/lib/python/Screens/Menu.py b/lib/python/Screens/Menu.py
index d6ec9015..a038cdf0 100644
--- a/lib/python/Screens/Menu.py
+++ b/lib/python/Screens/Menu.py
@@ -24,7 +24,6 @@ from Tools import XMLTools
# - self.setModeTV()
# - self.setModeRadio()
# - self.setModeFile()
-# - self.openDialog(ScartLoopThrough)
#
@@ -113,11 +112,11 @@ class Menu(Screen):
self.openDialog(*eval(arg[1]))
- def nothing(self): #dummy
+ def nothing(self): #dummy
pass
def openDialog(self, *dialog): # in every layer needed
- self.session.open(*dialog)
+ self.session.openWithCallback(self.menuClosed, *dialog)
def openSetup(self, dialog):
self.session.openWithCallback(self.menuClosed, Setup, dialog)
@@ -242,21 +241,3 @@ class MainMenu(Menu):
def __init__(self, *x):
Menu.__init__(self, *x)
self.skinName = "Menu"
-
- def openDialog(self, dialog):
- self.session.open(dialog)
-
- def openSetup(self, dialog):
- self.session.open(Setup, dialog)
-
- def setModeTV(self):
- print "set Mode to TV"
- pass
-
- def setModeRadio(self):
- print "set Mode to Radio"
- pass
-
- def setModeFile(self):
- print "set Mode to File"
- pass