summaryrefslogtreecommitdiffstats
path: root/text.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-06-25 21:37:21 +0000
committerMatt Wilson <msw@redhat.com>2001-06-25 21:37:21 +0000
commita93ec8dcafbe97ef7a97241148fe97bc462ce828 (patch)
treeafe27000bc933e6b0690ced5abddf26a43d012cf /text.py
parentb4fa606d648195ab5a47432edc26c1a67d6d3e42 (diff)
downloadanaconda-a93ec8dcafbe97ef7a97241148fe97bc462ce828.tar.gz
anaconda-a93ec8dcafbe97ef7a97241148fe97bc462ce828.tar.xz
anaconda-a93ec8dcafbe97ef7a97241148fe97bc462ce828.zip
reimplement the "can't go back from here" screen we had in 7.1
Diffstat (limited to 'text.py')
-rw-r--r--text.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/text.py b/text.py
index 8db5af1d9..96f064eb6 100644
--- a/text.py
+++ b/text.py
@@ -350,6 +350,12 @@ class InstallInterface:
lastrc = rc
if step == -1:
+ if not dispatch.canGoBack():
+ ButtonChoiceWindow(self.screen, _("Cancelled"),
+ _("I can't go to the previous step "
+ "from here. You will have to try "
+ "again."),
+ buttons = [ _("OK") ])
dispatch.gotoPrev()
else:
dispatch.gotoNext()