simplify code
[enigma2.git] / data / menu.xml
index 9483a2ab8e994fea8da8ea9fdfc3eb624db6132e..ba1dbc5241aa4517d721f2d25197c52ab45d734f 100644 (file)
@@ -1,5 +1,5 @@
 <menu text="Mainmenu" title="Mainmenu">
-
+       <id val="mainmenu" />
 <!-- the following types are allowed:
        <screen [module="mod"] [screen="classname"]>[arguments]</screen> 
                executes Screen called "classname" from module "Screen.mod"
                "exec"s code
 -->
                <!--<item text="Standby debug">quitMainloop(0)</item>
-               <item text="Networksetup">self.openSetup("network")</item>-->
+               <item text="Network setup">self.openSetup("network")</item>-->
                <!--<item text="CI"><screen module="Ci" screen="CiSelection" /></item>-->
                <!--<item text="Radio"><code>print "radio mode"</code></item>-->
+               <item text="Media player"><screen module="MediaPlayer" screen="MediaPlayer" /></item>
                <item text="Timer"><screen module="TimerEdit" screen="TimerEditList" /></item>
+               <item text="VCR scart"><screen module="Scart" screen="Scart" /></item>
 
                <menu text="Information">
+                       <id val="information" />
                        <item text="Service"><screen module="ServiceInfo" screen="ServiceInfo"/></item>
                        <item text="About..."><screen module="About" /></item>
                </menu>
 
-               <item text="Games / Plugins"><screen module="PluginBrowser" /></item>
-               <menu text="Setup">
+               <item text="Games / Plugins"><screen module="PluginBrowser" screen="PluginBrowser" /></item>
+               <menu text="Setup" flushConfigOnClose="1" >
+                       <id val="setup" />
                        <!--<menu text="Service Organising">
                                <item text="New Bouquets"></item>
                                <item text="Add to Bouquets"></item>
                                <item text="Edit Bouquets"></item>
                        </menu>-->
                        <menu text="Service Searching">
-                               <item text="Satelliteconfig"><screen module="Satconfig" screen="NimSelection" /></item>
+                               <id val="scan" />
+                               <item text="Tuner configuration"><screen module="Satconfig" screen="NimSelection" /></item>
                                <item text="Automatic Scan"><screen module="ScanSetup" screen="ScanSimple" /></item>
                                <!--<item text="Automatic Scan"><screen module="ServiceScan" /></item>-->
                                <item text="Manual Scan"><screen module="ScanSetup" /></item>
                                <!--<item text="Satfinder"></item>-->
                        </menu>
                        <menu text="System">
-                               <item text="Timezone"><setup id="timezone" /></item>
-                               <item text="Video Audio"><setup id="avsetup" /></item>
-                               <item text="UHF Modulator"><setup id="RFmod" /></item>
-                               <item text="Harddisk"><screen module="HarddiskSetup" screen="HarddiskSelection"/></item>
+                               <id val="system" />
+                               <item text="Language..."><screen module="LanguageSelection" /></item>
+                               <item><setup id="usage" /></item>
+                               <item><setup id="timezone" /></item>
+                               <item><setup id="avsetup" /></item>
+                               <item><setup id="RFmod" /></item>
+                               <item text="Harddisk..."><screen module="HarddiskSetup" screen="HarddiskSelection"/></item>
                                <!--<item text="Remote Control"><setup id="rc" /></item>-->
                                <!--<item text="Keyboard"><setup id="keyboard" /></item>-->
-                               <item text="OSD"><setup id="osd" /></item>
-                               <item text="LCD"><setup id="lcd" /></item>
-                               <item text="Network"><screen module="NetworkSetup" screen="NetworkSetup" /></item>
+                               <!--<item text="OSD"><setup id="osd" /></item>-->
+                               <item><setup id="lcd" /></item>
+                               <item text="Network..."><screen module="NetworkSetup" screen="NetworkSetup" /></item>
                        </menu>
                        <item text="Common Interface"><screen module="Ci" screen="CiSelection" /></item>
                        <!--<item text="Parental Control"><setup id="parental" /></item>-->
-                       <item text="Expert"><setup id="expert" /></item>
+                       <!--<item text="Expert -disabled-"><setup id="expert" /></item>-->
                </menu>
                <!--<item text="Unser Setup">self.openSetup("Blaselfasel")</item>-->
                <menu text="Standby / Restart">
-                       <item text="Standby"><code>quitMainloop(0)</code></item>
+                       <id val="shutdown" />
+                       <!--<item text="Standby"><code>quitMainloop(0)</code></item>-->
                        <item text="Restart"><code>quitMainloop(2)</code></item>
                        <item text="Deep Standby"><code>quitMainloop(1)</code></item>
                </menu>