diff options
author | Mike Fulbright <msf@redhat.com> | 2001-07-02 20:56:38 +0000 |
---|---|---|
committer | Mike Fulbright <msf@redhat.com> | 2001-07-02 20:56:38 +0000 |
commit | 985db75db893d897d72a793fff6fa83a8a52a93f (patch) | |
tree | fafae6275e0d7faa34ac154f3f9e2b958e4f7311 /iw/upgrade_swap_gui.py | |
parent | 8cedce028a159eefb9a99c758b7db57ba016420f (diff) | |
download | anaconda-985db75db893d897d72a793fff6fa83a8a52a93f.tar.gz anaconda-985db75db893d897d72a793fff6fa83a8a52a93f.tar.xz anaconda-985db75db893d897d72a793fff6fa83a8a52a93f.zip |
Fix yes/no dialog to actually work in text mode, fix GUI messageWindow to return a valid boolean value for yes/no dialog. Also fixup calls to messageWindow appropriately.
Diffstat (limited to 'iw/upgrade_swap_gui.py')
-rw-r--r-- | iw/upgrade_swap_gui.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/iw/upgrade_swap_gui.py b/iw/upgrade_swap_gui.py index ffbc3f80e..e3aab9d8b 100644 --- a/iw/upgrade_swap_gui.py +++ b/iw/upgrade_swap_gui.py @@ -169,13 +169,13 @@ class UpgradeSwapWindow (InstallWindow): _("It is stongly recommended that you create a swap " "file. Failure to do so could cause the installer " "to abort abnormally. Are you sure that you wish " - "to continue?"), type = "yesno").getrc() + "to continue?"), type = "yesno") return rc def swapWrongSize(self): rc = self.intf.messageWindow(_("Warning"), _("The swap file must be between 1 and 2000 MB in size."), - type = "okcancel").getrc() + type = "okcancel") return rc def swapTooBig(self): @@ -183,5 +183,5 @@ class UpgradeSwapWindow (InstallWindow): rc = self.intf.messageWindow(_("Warning"), _("There is not enough space on the device you " "selected for the swap partition."), - type = "okcancel").getrc() + type = "okcancel") return rc |