From bf2f4196dede42bb8b5b8168a85a60498a3d630f Mon Sep 17 00:00:00 2001 From: acid-burn Date: Fri, 29 Jan 2010 08:50:34 +0100 Subject: * simplify NetworkWizard usability. Its now possible to open the wizard directly with the current selected network interface, so its no more needed to select the interface twice. * add a blue button link to the network wizard also inside the AdapterSelectionScreen. * d't show interface question if only one interface is available. This fixes bug #218 --- .../SystemPlugins/NetworkWizard/networkwizard.xml | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'lib/python/Plugins/SystemPlugins/NetworkWizard/networkwizard.xml') diff --git a/lib/python/Plugins/SystemPlugins/NetworkWizard/networkwizard.xml b/lib/python/Plugins/SystemPlugins/NetworkWizard/networkwizard.xml index dcd9d933..c4300436 100755 --- a/lib/python/Plugins/SystemPlugins/NetworkWizard/networkwizard.xml +++ b/lib/python/Plugins/SystemPlugins/NetworkWizard/networkwizard.xml @@ -1,11 +1,14 @@ - + self.clearSelectedKeys() self.selectKey("OK") + +self.selectInterface() + @@ -80,7 +83,7 @@ self.selectKey("UP") self.selectKey("DOWN") - + @@ -109,11 +112,7 @@ self.condition = (self.isInterfaceUp == False and self.WlanPluginInstalled == Tr - - - - - + self.clearSelectedKeys() self.selectKey("OK") @@ -127,10 +126,8 @@ self.condition = (self.isInterfaceUp == True and self.WlanPluginInstalled == Fal - - - - + + self.clearSelectedKeys() self.selectKey("OK") @@ -185,7 +182,7 @@ self.selectKey("UP") self.selectKey("DOWN") - + -- cgit v1.2.3