summaryrefslogtreecommitdiffstats
path: root/gui.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2001-06-25 21:20:49 +0000
committerMatt Wilson <msw@redhat.com>2001-06-25 21:20:49 +0000
commitb4fa606d648195ab5a47432edc26c1a67d6d3e42 (patch)
tree58ca2cd2b16a6d7c14f76bab3544204fe3ac9538 /gui.py
parent7bff3f20428d39fbd9ec4b7448bff2b2f2c91e6a (diff)
downloadanaconda-b4fa606d648195ab5a47432edc26c1a67d6d3e42.tar.gz
anaconda-b4fa606d648195ab5a47432edc26c1a67d6d3e42.tar.xz
anaconda-b4fa606d648195ab5a47432edc26c1a67d6d3e42.zip
set the prev button in accordance to if it is possible to go back or not
Diffstat (limited to 'gui.py')
-rwxr-xr-xgui.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui.py b/gui.py
index bcaac637a..ca943a865 100755
--- a/gui.py
+++ b/gui.py
@@ -503,7 +503,8 @@ class InstallControlWindow:
exec s
ics = InstallControlState (self)
-
+ ics.setPrevEnabled(self.dispatch.canGoBack())
+
self.destroyCurrentWindow()
self.currentWindow = newScreenClass(ics)
@@ -557,7 +558,6 @@ class InstallControlWindow:
self.html.source (ics.getHTML(self.langSearchPath))
-
if (ics.getGrabNext ()):
nextButton.grab_focus ()
@@ -745,7 +745,7 @@ class InstallControlState:
self.searchPath = [ "./", "/usr/share/anaconda/", "./" ]
self.cw = cw
self.prevEnabled = 1
- self.nextEnabled = 0
+ self.nextEnabled = 1
self.nextButtonInfo = None
self.helpButtonEnabled = TRUE
self.title = _("Install Window")