aboutsummaryrefslogtreecommitdiff
path: root/data/menu.xml
diff options
context:
space:
mode:
Diffstat (limited to 'data/menu.xml')
-rw-r--r--data/menu.xml3
1 files changed, 2 insertions, 1 deletions
diff --git a/data/menu.xml b/data/menu.xml
index 403e0b81..59195f15 100644
--- a/data/menu.xml
+++ b/data/menu.xml
@@ -104,6 +104,7 @@ self.session.openWithCallback(msgClosed, FactoryReset)
<item text="Standby" entryID="standby"><screen module="Standby" screen="Standby"/></item>
<item text="Restart" entryID="restart"><screen module="Standby" screen="TryQuitMainloop">2</screen></item>
<item level="2" text="Restart GUI" entryID="restart_enigma"><screen module="Standby" screen="TryQuitMainloop">3</screen></item>
- <item text="Deep Standby" entryID="deep_standby"><screen module="Standby" screen="TryQuitMainloop">1</screen></item>
+ <item text="Deep Standby" requires="DeepstandbySupport" entryID="deep_standby"><screen module="Standby" screen="TryQuitMainloop">1</screen></item>
+ <item text="Shutdown" requires="!DeepstandbySupport" entryID="deep_standby"><screen module="Standby" screen="TryQuitMainloop">1</screen></item>
</menu>
</menu>