Merge commit 'origin/bug_218_simplify_networkwizard' into experimental
authoracid-burn <acid-burn@opendreambox.org>
Fri, 29 Jan 2010 08:14:17 +0000 (09:14 +0100)
committeracid-burn <acid-burn@opendreambox.org>
Fri, 29 Jan 2010 08:14:17 +0000 (09:14 +0100)
Conflicts:
lib/python/Plugins/SystemPlugins/NetworkWizard/NetworkWizard.py

1  2 
lib/python/Plugins/SystemPlugins/NetworkWizard/NetworkWizard.py

@@@ -354,3 -395,26 +395,27 @@@ class NetworkWizard(WizardLanguage, Rc)
                else:
                        self.WlanPluginInstalled = True
  
+       def listChoices(self):
+               self.rescanTimer.stop()
+               list = []
+               if self.WlanPluginInstalled == True:
+                       list.append((_("Configure your wireless LAN again"), "scanwlan"))
+               list.append((_("Configure your internal LAN"), "nwconfig"))
+               list.append((_("Exit network wizard"), "end"))          
+               return list
+       def ChoicesSelectionMade(self, index):
+               self.ChoicesSelect(index)
+       def ChoicesSelect(self, index):
+               if index == 'end':
+                       self.NextStep = 'end'
+               elif index == 'nwconfig':
+                       self.selectedInterface = "eth0"
+                       self.NextStep = 'nwconfig'
+               else:
+                       self.NextStep = 'scanwlan'
+       def ChoicesSelectionMoved(self):
+               pass
++