summaryrefslogtreecommitdiffstats
path: root/image.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2004-02-18 00:01:36 +0000
committerJeremy Katz <katzj@redhat.com>2004-02-18 00:01:36 +0000
commit54e578f121a502b8109846b2c419d7c74842066b (patch)
treec2a142e64fe4bf6ade1d4ae56588bbda6573e872 /image.py
parent59ab8ec036867e5a52ad348f6c6fd284a66d912f (diff)
downloadanaconda-54e578f121a502b8109846b2c419d7c74842066b.tar.gz
anaconda-54e578f121a502b8109846b2c419d7c74842066b.tar.xz
anaconda-54e578f121a502b8109846b2c419d7c74842066b.zip
clean up message a little bit, make it do the right thing (#114711)
Diffstat (limited to 'image.py')
-rw-r--r--image.py13
1 files changed, 9 insertions, 4 deletions
diff --git a/image.py b/image.py
index 9777035f7..2ac55af61 100644
--- a/image.py
+++ b/image.py
@@ -430,10 +430,15 @@ def findIsoImages(path, messageWindow):
"The ISO image %s has a size which is not "
"a multiple of 2048 bytes. This may mean "
"it was corrupted on transfer to this computer."
- "\n\nPress OK to continue (but installation will "
- "probably fail), or Cancel to exit the "
- "installer (RECOMMENDED). " % file, type = "okcancel")
- if rc:
+ "\n\n"
+ "It is recommended that you reboot and abort your "
+ "installation, but you can choose to continue if "
+ "you think this is in error." % (file,),
+ type="custom",
+ custom_icon="warning",
+ custom_buttons= [_("_Reboot"),
+ _("_Continue")])
+ if rc == 0:
sys.exit(0)
discImages[num] = file