diff options
author | Mike Fulbright <msf@redhat.com> | 2001-07-19 20:03:43 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2001-07-19 20:03:43 +0000 |
commit | 5552c7ae5c2589d3d8b9aec40c4d81bcfefdb114 (patch) | |
tree | b8f066c2e0355875bcd8228f6f46f5b258984467 /gui.py | |
parent | 0e82660641f9f1e38c27fa102eae106804c90737 (diff) | |
download | anaconda-5552c7ae5c2589d3d8b9aec40c4d81bcfefdb114.tar.gz anaconda-5552c7ae5c2589d3d8b9aec40c4d81bcfefdb114.tar.xz anaconda-5552c7ae5c2589d3d8b9aec40c4d81bcfefdb114.zip |
fix behavior so we warn user if they are using a preexisting as a system directory and NOT formatting, as well as if they are formatting a preexsting, since it will destroy the data
Diffstat (limited to 'gui.py')
-rwxr-xr-x | gui.py | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -241,7 +241,7 @@ class MessageWindow: def getrc (self): return self.rc - def __init__ (self, title, text, type="ok"): + def __init__ (self, title, text, type="ok", default=None): if flags.autostep: print title, text, type self.rc = 1 @@ -299,8 +299,8 @@ class InstallInterface: self.ppw.setSizes (total, totalSize) return self.ppw - def messageWindow(self, title, text, type="ok"): - rc = MessageWindow (title, text, type).getrc() + def messageWindow(self, title, text, type="ok", default = None): + rc = MessageWindow (title, text, type, default).getrc() return rc def exceptionWindow(self, title, text): |