use special refresh rate selection for DVI ports
[enigma2.git] / data / menu.xml
index dabdd76e4ba5d1746773fc460409a0125d900f7a..d49a57049af59a6365c74483163bdb8c9f620a05 100644 (file)
@@ -1,5 +1,5 @@
 <menu text="Mainmenu" title="Mainmenu">
 <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"
 <!-- 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>
                "exec"s code
 -->
                <!--<item text="Standby debug">quitMainloop(0)</item>
-               <item text="Network setup">self.openSetup("network")</item>-->
+               <item text="Network setup" entryID="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="CI"><screen module="Ci" screen="CiSelection" /></item>-->
                <!--<item text="Radio"><code>print "radio mode"</code></item>-->
-               <item text="Timer"><screen module="TimerEdit" screen="TimerEditList" /></item>
+               <item level="0" text="Subtitles" entryID="subtitle_selection" weight="40"><screen module="Subtitles" screen="Subtitles" /></item>
+               <item level="0" text="Timer" entryID="timer_edit"><screen module="TimerEdit" screen="TimerEditList" /></item>
+               <item level="1" text="VCR scart" entryID="scart_switch"><code>self.session.scart.VCRSbChanged(3)</code></item>
 
 
-               <menu text="Information">
-                       <item text="Service"><screen module="ServiceInfo" screen="ServiceInfo"/></item>
-                       <item text="About..."><screen module="About" /></item>
+               <menu level="0" text="Information" entryID="info_screen">
+                       <id val="information" />
+                       <item level="1" text="Service" entryID="service_info_screen"><screen module="ServiceInfo" screen="ServiceInfo"/></item>
+                       <item level="0" text="About..." entryID="about_screen"><screen module="About" /></item>
                </menu>
 
                </menu>
 
-               <item text="Games / Plugins"><screen module="PluginBrowser" /></item>
-               <menu text="Setup">
+               <item level="1" text="Plugins" entryID="plugin_selection"><screen module="PluginBrowser" screen="PluginBrowser" /></item>
+               <menu level="0" text="Setup" flushConfigOnClose="1" entryID="setup_selection" >
+                       <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 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>
-                               <item text="Automatic Scan"><screen module="ScanSetup" screen="ScanSimple" /></item>
+                       <menu level="0" text="Service Searching" entryID="service_searching_selection">
+                               <id val="scan" />
+                               <item text="Tuner configuration" entryID="tuner_setup"><screen module="Satconfig" screen="NimSelection" /></item>
+                               <item text="Automatic Scan" entryID="auto_scan"><screen module="ScanSetup" screen="ScanSimple" /></item>
                                <!--<item text="Automatic Scan"><screen module="ServiceScan" /></item>-->
                                <!--<item text="Automatic Scan"><screen module="ServiceScan" /></item>-->
-                               <item text="Manual Scan"><screen module="ScanSetup" /></item>
+                               <item text="Manual Scan" entryID="manual_scan"><screen module="ScanSetup" /></item>
                                <!--<item text="Rotor Control"></item>
                                <!--<item text="Rotor Control"></item>
-                               <item text="Edit Transponder"></item>-->
-                               <!--<item text="Satfinder"></item>-->
+                               <item text="Edit Transponder"></item>
+                               <item text="Satfinder"></item>-->
                        </menu>
                        </menu>
-                       <menu text="System">
-                               <item text="Language"><screen module="LanguageSelection" /></item>
-                               <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>
+                       <menu level="0" text="System" entryID="system_selection">
+                               <id val="system" />
+                               <item level="0" text="Language..." entryID="language_setup"><screen module="LanguageSelection" /></item>
+                               <item level="0" entryID="usage_setup"><setup id="usage" /></item>
+                               <item level="0" entryID="timezone_setup"><setup id="timezone"/></item>
+                               <item level="0" entryID="av_setup"><setup id="avsetup"/></item>
+                               <!--<item level="0" text="Video Setup" entryID="video_setup"><screen module="VideoSetup" /></item>-->
+                               <item level="1" entryID="rfmod_setup"><setup id="RFmod"/></item>
+                               <menu level="0" text="Harddisk" entryID="hardisk_selection">
+                                       <id val="harddisk" />
+                                       <item level="1" entryID="harddisk_setup"><setup id="harddisk"/></item>
+                                       <item level="0" text="Initialization..." entryID="harddisk_init"><screen module="HarddiskSetup" screen="HarddiskSelection"/></item>
+                               </menu>
                                <!--<item text="Remote Control"><setup id="rc" /></item>-->
                                <!--<item text="Keyboard"><setup id="keyboard" /></item>-->
                                <!--<item text="OSD"><setup id="osd" /></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><setup level="1" id="lcd" /></item>
+                               <menu level="1" text="Network..." entryID="network_setup">
+                                       <id val="network" />
+                                       <item level="1" text="Device Setup..." entryID="device_setup"><screen module="NetworkSetup" screen="NetworkAdapterSelection"/></item>
+                                       <item level="1" text="Nameserver Setup..." entryID="dns_setup"><screen module="NetworkSetup" screen="NameserverSetup"/></item>
+                               </menu>
                        </menu>
                        </menu>
-                       <item text="Common Interface"><screen module="Ci" screen="CiSelection" /></item>
+                       <item level="1" text="Common Interface" entryID="ci_setup"><screen module="Ci" screen="CiSelection" /></item>
+                       <item level="0" text="Parental control" entryID="parental_setup"><screen module="ParentalControlSetup" screen="ParentalControlSetup" /></item>
+                       <item level="0" text="Startwizard" entryID="startwizzard"><screen module="StartWizard" screen="StartWizard" /></item>
                        <!--<item text="Parental Control"><setup id="parental" /></item>-->
                        <!--<item text="Expert -disabled-"><setup id="expert" /></item>-->
                </menu>
                <!--<item text="Unser Setup">self.openSetup("Blaselfasel")</item>-->
                        <!--<item text="Parental Control"><setup id="parental" /></item>-->
                        <!--<item text="Expert -disabled-"><setup id="expert" /></item>-->
                </menu>
                <!--<item text="Unser Setup">self.openSetup("Blaselfasel")</item>-->
-               <menu text="Standby / Restart">
+               <menu text="Standby / Restart" entryID="standby_restart_list">
+                       <id val="shutdown" />
                        <!--<item text="Standby"><code>quitMainloop(0)</code></item>-->
                        <!--<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>
+                       <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>
                </menu>
 </menu>
                </menu>
 </menu>