summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2001-07-04 00:25:04 +0000
committerJeremy Katz <katzj@redhat.com>2001-07-04 00:25:04 +0000
commit80aeb81504ff08479288702aa3693cba88d30131 (patch)
tree1c0dbcabff97d53bfd2dc09df121c7b6cc97987d /textw
parentc45ea5e644fad5a6161293042df5517ee5c448c2 (diff)
downloadanaconda-80aeb81504ff08479288702aa3693cba88d30131.tar.gz
anaconda-80aeb81504ff08479288702aa3693cba88d30131.tar.xz
anaconda-80aeb81504ff08479288702aa3693cba88d30131.zip
more bootloader fixes for yesterday
Diffstat (limited to 'textw')
-rw-r--r--textw/bootloader_text.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/textw/bootloader_text.py b/textw/bootloader_text.py
index 2ff3ff41a..26a1e4422 100644
--- a/textw/bootloader_text.py
+++ b/textw/bootloader_text.py
@@ -252,8 +252,11 @@ class BootloaderImagesWindow:
if (result == TEXT_BACK_CHECK):
return INSTALL_BACK
- for (dev, (label, type)) in images.items():
- bl.images.setImageLabel(dev, label)
+ for (dev, (label, longlabel, type)) in images.items():
+ if not bl.useGrub():
+ bl.images.setImageLabel(dev, label)
+ else:
+ bl.images.setImageLabel(dev, longlabel)
bl.images.setDefault(default)
return INSTALL_OK