diff options
-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): |