summaryrefslogtreecommitdiffstats
path: root/iw/upgrade_bootloader_gui.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2006-05-04 19:58:53 +0000
committerChris Lumens <clumens@redhat.com>2006-05-04 19:58:53 +0000
commit9e1a444c46abcfc29c2e44ffd102fcc1eda6289e (patch)
treefc10e993fe6c8292fbd0cb57fb6ad4135b0a8fad /iw/upgrade_bootloader_gui.py
parent2d90bc12dcc682a7f0ff68e599cbb81a34a0b4a3 (diff)
downloadanaconda-9e1a444c46abcfc29c2e44ffd102fcc1eda6289e.tar.gz
anaconda-9e1a444c46abcfc29c2e44ffd102fcc1eda6289e.tar.xz
anaconda-9e1a444c46abcfc29c2e44ffd102fcc1eda6289e.zip
Make all UI steps use anaconda class. Add system-config-keyboard shim.
Diffstat (limited to 'iw/upgrade_bootloader_gui.py')
-rw-r--r--iw/upgrade_bootloader_gui.py13
1 files changed, 6 insertions, 7 deletions
diff --git a/iw/upgrade_bootloader_gui.py b/iw/upgrade_bootloader_gui.py
index 051a90112..328905330 100644
--- a/iw/upgrade_bootloader_gui.py
+++ b/iw/upgrade_bootloader_gui.py
@@ -56,13 +56,12 @@ class UpgradeBootloaderWindow (InstallWindow):
self.bl.setDevice(self.bootDev)
- def getScreen(self, dispatch, bl):
- self.dispatch = dispatch
- self.bl = bl
- self.intf = dispatch.intf
+ def getScreen(self, anaconda):
+ self.dispatch = anaconda.dispatch
+ self.bl = anaconda.id.bootloader
(self.type, self.bootDev) = \
- checkbootloader.getBootloaderTypeAndBoot(dispatch.instPath)
+ checkbootloader.getBootloaderTypeAndBoot(anaconda.rootPath)
self.update_radio = gtk.RadioButton(None, _("_Update boot loader configuration"))
@@ -117,9 +116,9 @@ class UpgradeBootloaderWindow (InstallWindow):
default = self.nobl_radio
- if not dispatch.stepInSkipList("bootloader"):
+ if not self.dispatch.stepInSkipList("bootloader"):
self.newbl_radio.set_active(True)
- elif dispatch.stepInSkipList("instbootloader"):
+ elif self.dispatch.stepInSkipList("instbootloader"):
self.nobl_radio.set_active(True)
else:
default.set_active(True)