diff options
author | Martin Sivak <msivak@redhat.com> | 2013-01-09 15:08:48 +0100 |
---|---|---|
committer | Martin Sivak <msivak@redhat.com> | 2013-01-11 13:35:39 +0100 |
commit | 126ef3d17a90657047a5b07a6715013b021f50b2 (patch) | |
tree | 6c35f0251b35fb799dd75ec64c8a07c191975d21 /pyanaconda/ui | |
parent | 0a56775bc1018c2a8ea08bc9e88109c29a93389d (diff) | |
download | anaconda-126ef3d17a90657047a5b07a6715013b021f50b2.tar.gz anaconda-126ef3d17a90657047a5b07a6715013b021f50b2.tar.xz anaconda-126ef3d17a90657047a5b07a6715013b021f50b2.zip |
Do not call exit at the end of GUI interface, just quit the main loop
Diffstat (limited to 'pyanaconda/ui')
-rw-r--r-- | pyanaconda/ui/gui/__init__.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pyanaconda/ui/gui/__init__.py b/pyanaconda/ui/gui/__init__.py index d8febe98a..dbf96bb17 100644 --- a/pyanaconda/ui/gui/__init__.py +++ b/pyanaconda/ui/gui/__init__.py @@ -335,7 +335,6 @@ class GraphicalUserInterface(UserInterface): self._actions.pop(0) if not self._actions: - sys.exit(0) return self._currentAction.initialize() @@ -428,9 +427,11 @@ class GraphicalUserInterface(UserInterface): ### SIGNAL HANDLING METHODS ### def _on_continue_clicked(self): + from gi.repository import Gtk + # If we're on the last screen, clicking Continue quits. if len(self._actions) == 1: - sys.exit(0) + Gtk.main_quit() return nextAction = None |