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 /gui.py | |
parent | 49de9c7010421a7dc665c93e5f8692ecffcd9845 (diff) | |
download | anaconda-94792cc9d1e1cfedccd4af22cbcb7ce61cf7bbae.tar.gz anaconda-94792cc9d1e1cfedccd4af22cbcb7ce61cf7bbae.tar.xz anaconda-94792cc9d1e1cfedccd4af22cbcb7ce61cf7bbae.zip |
change 'next' to 'exit' for last screen
Diffstat (limited to 'gui.py')
-rwxr-xr-x | gui.py | 6 |
1 files changed, 2 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") |