From: hschang Date: Thu, 20 Jun 2013 04:07:44 +0000 (+0900) Subject: NetworkWizard : remove confdns for inet static. X-Git-Url: http://code.vuplus.com/gitweb/?p=vuplus_dvbapp;a=commitdiff_plain;h=280ffa3e9ac601210d65d260c2fdee52a5b7c63b NetworkWizard : remove confdns for inet static. --- diff --git a/lib/python/Plugins/SystemPlugins/NetworkWizard/NetworkWizard.py b/lib/python/Plugins/SystemPlugins/NetworkWizard/NetworkWizard.py index cb954bb..ee6f5b0 100755 --- a/lib/python/Plugins/SystemPlugins/NetworkWizard/NetworkWizard.py +++ b/lib/python/Plugins/SystemPlugins/NetworkWizard/NetworkWizard.py @@ -200,12 +200,8 @@ class NetworkWizard(WizardLanguage, Rc): def AdapterSetupEnd(self, iface): self.originalInterfaceStateChanged = True - if iNetwork.getAdapterAttribute(iface, "dhcp") is True: - iNetwork.checkNetworkState(self.AdapterSetupEndFinished) - self.AdapterRef = self.session.openWithCallback(self.AdapterSetupEndCB, MessageBox, _("Please wait while we test your network..."), type = MessageBox.TYPE_INFO, enable_input = False) - else: - self.currStep = self.getStepWithID("confdns") - self.afterAsyncCode() + iNetwork.checkNetworkState(self.AdapterSetupEndFinished) + self.AdapterRef = self.session.openWithCallback(self.AdapterSetupEndCB, MessageBox, _("Please wait while we test your network..."), type = MessageBox.TYPE_INFO, enable_input = False) def AdapterSetupEndCB(self,data): if data is True: diff --git a/lib/python/Plugins/SystemPlugins/NetworkWizard/networkwizard.xml b/lib/python/Plugins/SystemPlugins/NetworkWizard/networkwizard.xml index 0b3a298..3c7812c 100755 --- a/lib/python/Plugins/SystemPlugins/NetworkWizard/networkwizard.xml +++ b/lib/python/Plugins/SystemPlugins/NetworkWizard/networkwizard.xml @@ -41,18 +41,6 @@ self.selectKey("RIGHT") self.AdapterSetupEnd(self.selectedInterface) - - - - - -self.clearSelectedKeys() -self.selectKey("OK") - - -self.checkNetwork() - - self.condition = (self.InterfaceState == True )