From b61c399f446a7f085a10916781a1de61a363e108 Mon Sep 17 00:00:00 2001 From: Chris Lumens Date: Wed, 15 Jul 2009 14:59:03 -0400 Subject: Most windows no longer need an anaconda argument, since the intf has that. --- gui.py | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'gui.py') diff --git a/gui.py b/gui.py index a4bd75c65..7f560362a 100755 --- a/gui.py +++ b/gui.py @@ -998,11 +998,11 @@ class InstallInterface: def resume(self): pass - def enableNetwork(self, anaconda): - if len(anaconda.id.network.netdevices) == 0: + def enableNetwork(self): + if len(self.anaconda.id.network.netdevices) == 0: return False from netconfig_dialog import NetworkConfigurator - net = NetworkConfigurator(anaconda.id.network) + net = NetworkConfigurator(self.anaconda.id.network) ret = net.run() net.destroy() @@ -1035,21 +1035,21 @@ class InstallInterface: custom_buttons, custom_icon, run=True, parent=parent).getrc() return rc - def createRepoWindow(self, anaconda): + def createRepoWindow(self): from task_gui import RepoCreator - dialog = RepoCreator(anaconda) + dialog = RepoCreator(self.anaconda) dialog.createDialog() dialog.run() - def editRepoWindow(self, anaconda, repoObj): + def editRepoWindow(self, repoObj): from task_gui import RepoEditor - dialog = RepoEditor(anaconda, repoObj) + dialog = RepoEditor(self.anaconda, repoObj) dialog.createDialog() dialog.run() - def methodstrRepoWindow(self, anaconda): + def methodstrRepoWindow(self): from task_gui import RepoMethodstrEditor - dialog = RepoMethodstrEditor(anaconda) + dialog = RepoMethodstrEditor(self.anaconda) dialog.createDialog() return dialog.run() @@ -1096,8 +1096,8 @@ class InstallInterface: custom_buttons=[_("_Exit installer")]).getrc() return rc - def getInstallKey(self, anaconda, key = ""): - d = InstallKeyWindow(anaconda, key) + def getInstallKey(self, key = ""): + d = InstallKeyWindow(self.anaconda, key) rc = d.run() if rc == gtk.RESPONSE_CANCEL: ret = None -- cgit