summaryrefslogtreecommitdiffstats
path: root/pyanaconda/gui.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2011-09-16 14:13:18 -0400
committerChris Lumens <clumens@redhat.com>2011-09-16 15:30:10 -0400
commitbf76bc9755f24a9be7241dd248be74dae75fdc6f (patch)
tree43c795ea63af0831cd5ad09409b7a3239e5eee18 /pyanaconda/gui.py
parentcf8c002979e555974b3ab276e28f3dbc631f0f29 (diff)
downloadanaconda-bf76bc9755f24a9be7241dd248be74dae75fdc6f.tar.gz
anaconda-bf76bc9755f24a9be7241dd248be74dae75fdc6f.tar.xz
anaconda-bf76bc9755f24a9be7241dd248be74dae75fdc6f.zip
Don't reboot when closing the live installer via the window decoration.
Related: rhbz#705189
Diffstat (limited to 'pyanaconda/gui.py')
-rwxr-xr-xpyanaconda/gui.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pyanaconda/gui.py b/pyanaconda/gui.py
index bd17653bb..ed47a3e5d 100755
--- a/pyanaconda/gui.py
+++ b/pyanaconda/gui.py
@@ -1332,7 +1332,6 @@ class InstallControlWindow:
self._main_loop_running = False
def _doExitConfirm (self, win = None, *args):
- # FIXME: translate the string
win = MessageWindow(_("Exit installer"),
_("Are you sure you wish to exit the installer?"),
type="custom", custom_icon="question",
@@ -1340,7 +1339,7 @@ class InstallControlWindow:
parent = win)
if win.getrc() == 0:
return True
- self.close()
+ sys.exit(0)
def createWidgets (self):
""" Sets up the widgets in the main installler window. """