summaryrefslogtreecommitdiffstats
path: root/textw
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2005-04-27 22:42:25 +0000
committerJeremy Katz <katzj@redhat.com>2005-04-27 22:42:25 +0000
commit6b848780c91fe00ddb83ced734d0b021eaa4e360 (patch)
tree881e0dde39c988470e913306df14aaaeb89b8be6 /textw
parentca94c43dfda3d3d0eaaf098139bbbf47c8e3e84e (diff)
downloadanaconda-6b848780c91fe00ddb83ced734d0b021eaa4e360.tar.gz
anaconda-6b848780c91fe00ddb83ced734d0b021eaa4e360.tar.xz
anaconda-6b848780c91fe00ddb83ced734d0b021eaa4e360.zip
2005-04-27 Jeremy Katz <katzj@redhat.com>
* text.py (InstallInterface.messageWindow): Properly return the idx of the return on a custom messageWindow * image.py (presentRequiredMediaMessage): Add back button for required media message (#114770) * textw/confirm_text.py (BeginUpgradeWindow.__call__): Likewise. (BeginInstallWindow.__call__): Likewise. * iw/confirm_gui.py (UpgradeConfirmWindow.getNext) (InstallConfirmWindow.getNext): Likewise.
Diffstat (limited to 'textw')
-rw-r--r--textw/confirm_text.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/textw/confirm_text.py b/textw/confirm_text.py
index 4701b1588..20378b789 100644
--- a/textw/confirm_text.py
+++ b/textw/confirm_text.py
@@ -40,6 +40,8 @@ class BeginInstallWindow:
sys.exit(0)
else:
return INSTALL_BACK
+ elif rc == 1: # they asked to go back
+ return INSTALL_BACK
return INSTALL_OK
@@ -66,5 +68,7 @@ class BeginUpgradeWindow:
sys.exit(0)
else:
return INSTALL_BACK
+ elif rc == 1: # they asked to go back
+ return INSTALL_BACK
return INSTALL_OK