diff options
author | Matt Wilson <msw@redhat.com> | 1999-08-17 21:21:38 +0000 |
---|---|---|
committer | Matt Wilson <msw@redhat.com> | 1999-08-17 21:21:38 +0000 |
commit | 94792cc9d1e1cfedccd4af22cbcb7ce61cf7bbae (patch) | |
tree | b94360c68735fc8f841238b1f1df0c6df98f2788 | |
parent | 49de9c7010421a7dc665c93e5f8692ecffcd9845 (diff) | |
download | anaconda-94792cc9d1e1cfedccd4af22cbcb7ce61cf7bbae.tar.gz anaconda-94792cc9d1e1cfedccd4af22cbcb7ce61cf7bbae.tar.xz anaconda-94792cc9d1e1cfedccd4af22cbcb7ce61cf7bbae.zip |
change 'next' to 'exit' for last screen
-rwxr-xr-x | gui.py | 6 | ||||
-rw-r--r-- | iw/congrats.py | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -137,8 +137,6 @@ class InstallControlWindow (Thread): self.stateListIndex = self.stateListIndex + 1 if self.stateListIndex < len (self.stateList): self.currentScreen = self.stateList[self.stateListIndex] - if self.stateListIndex == len (self.stateList) - 2: - print "show finish button here" else: self.ii.finishedTODO.set () sys.exit (0) @@ -198,7 +196,7 @@ class InstallControlWindow (Thread): elif button["pixmap"] == STOCK_BUTTON_NEXT and not button["label"]: buttons[name] = self.nextButtonStock else: - buttons[name] = GnomePixmapButton (GnomeStock (button["pixmap"], button["label"])) + buttons[name] = GnomePixmapButton (GnomeStock (button["pixmap"]), button["label"]) if name == "prev": buttons[name].connect ("clicked", self.prevClicked) elif name == "next": buttons[name].connect ("clicked", self.nextClicked) buttons[name].show () @@ -233,7 +231,7 @@ class InstallControlWindow (Thread): self.buttonBox = GtkHButtonBox () self.buttonBox.set_layout (BUTTONBOX_END) - self.prevButtonStock = GnomeStockButton (STOCK_BUTTON_PREV) + self.prevButtonStock = GnomePixmapButton (GnomeStock (STOCK_BUTTON_PREV), "Back") self.nextButtonStock = GnomeStockButton (STOCK_BUTTON_NEXT) self.finishButton = GnomePixmapButton (GnomeStock (STOCK_BUTTON_APPLY), "Finish") diff --git a/iw/congrats.py b/iw/congrats.py index a15dab23e..1707e6252 100644 --- a/iw/congrats.py +++ b/iw/congrats.py @@ -1,4 +1,5 @@ from gtk import * +from gnome.ui import * from iw import * class CongratulationWindow (InstallWindow): @@ -8,6 +9,7 @@ class CongratulationWindow (InstallWindow): ics.setTitle ("Congratulations") ics.setPrevEnabled (0) + ics.setNextButton (STOCK_BUTTON_EXIT, "Exit") ics.setNextEnabled (1) def getScreen (self): |