aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mytest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mytest.py b/mytest.py
index 79dd6277..e0b86e7e 100644
--- a/mytest.py
+++ b/mytest.py
@@ -430,8 +430,8 @@ class PowerKey:
id = y.getAttribute("val")
if id and id == "shutdown":
self.session.infobar = self
- menu_screen = self.session.openWithCallback(self.MenuClosed, MainMenu, menu, x.childNodes)
- menu_screen.setTitle(_("Standby Menu"))
+ menu_screen = self.session.openWithCallback(self.MenuClosed, MainMenu, x, x.childNodes)
+ menu_screen.setTitle(_("Standby / Restart"))
return
def powerdown(self):