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

index 13e7fdde3f2afaeb65e9792f75b0f4b2f05f974c,018ae876f4e1aaeb5835ad490bcaf41345b3f483..150dba9debc1ffd419a716ff5ee11afb770bc7bf
@@@ -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
++