summaryrefslogtreecommitdiffstats
path: root/pyanaconda/ui
diff options
context:
space:
mode:
authorMartin Sivak <msivak@redhat.com>2013-01-09 15:08:48 +0100
committerMartin Sivak <msivak@redhat.com>2013-01-11 13:35:39 +0100
commit126ef3d17a90657047a5b07a6715013b021f50b2 (patch)
tree6c35f0251b35fb799dd75ec64c8a07c191975d21 /pyanaconda/ui
parent0a56775bc1018c2a8ea08bc9e88109c29a93389d (diff)
downloadanaconda-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__.py5
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