diff options
author | Matt Wilson <msw@redhat.com> | 2001-06-25 21:37:21 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 2001-06-25 21:37:21 +0000 |
commit | a93ec8dcafbe97ef7a97241148fe97bc462ce828 (patch) | |
tree | afe27000bc933e6b0690ced5abddf26a43d012cf /text.py | |
parent | b4fa606d648195ab5a47432edc26c1a67d6d3e42 (diff) | |
download | anaconda-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.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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() |