add default wizard to the menu (should we reorganize the settings menu?)
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Fri, 16 May 2008 23:09:38 +0000 (23:09 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Fri, 16 May 2008 23:09:38 +0000 (23:09 +0000)
data/menu.xml

index 88ca4e6..43e2c3c 100644 (file)
                        <item level="1" text="Common Interface" entryID="ci_setup" requires="CommonInterface"><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 level="1" text="Common Interface" entryID="ci_setup" requires="CommonInterface"><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 level="0" text="Default settings" entryID="default_wizard">
+                               <code>
+from Screens.DefaultWizard import DefaultWizard
+self.session.open(DefaultWizard, silent = False)
+</code>
+                       </item>
                        <item level="0" text="Factory reset" entryID="factory_reset">
 <code>
 from Screens.MessageBox import MessageBox
                        <item level="0" text="Factory reset" entryID="factory_reset">
 <code>
 from Screens.MessageBox import MessageBox