aboutsummaryrefslogtreecommitdiff
path: root/data/menu.xml
diff options
context:
space:
mode:
authorghost <andreas.monzner@multimedia-labs.de>2009-12-03 16:42:12 +0100
committerghost <andreas.monzner@multimedia-labs.de>2009-12-03 16:42:12 +0100
commit29aad534cf1c20a723fe8d736babad1be1e6e9fa (patch)
tree6b5ba042c10d15862cabb30d7fe0cc4417287622 /data/menu.xml
parentcb00266f327ae7da1685cdeaeefddf441bf88316 (diff)
downloadenigma2-29aad534cf1c20a723fe8d736babad1be1e6e9fa.tar.gz
enigma2-29aad534cf1c20a723fe8d736babad1be1e6e9fa.zip
use new DeepstandbySupport SystemInfo entry at some places... this fixes bug #307
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 c7fb8897..a96912a6 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>