summaryrefslogtreecommitdiffstats
path: root/iw
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-07-02 20:56:38 +0000
committerMike Fulbright <msf@redhat.com>2001-07-02 20:56:38 +0000
commit985db75db893d897d72a793fff6fa83a8a52a93f (patch)
treefafae6275e0d7faa34ac154f3f9e2b958e4f7311 /iw
parent8cedce028a159eefb9a99c758b7db57ba016420f (diff)
downloadanaconda-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')
-rw-r--r--iw/package_gui.py2
-rw-r--r--iw/upgrade_swap_gui.py6
2 files changed, 4 insertions, 4 deletions
diff --git a/iw/package_gui.py b/iw/package_gui.py
index eb3f5b4cd..f45c41e00 100644
--- a/iw/package_gui.py
+++ b/iw/package_gui.py
@@ -21,7 +21,7 @@ def queryUpgradeContinue(intf):
"mounted. You cannot go back past this point. "
"\n\n") +
_( "Would you like to continue with the upgrade?"),
- type = "yesno").getrc()
+ type = "yesno")
return rc
class IndividualPackageSelectionWindow (InstallWindow):
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