FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > CentOS > CentOS

 
 
LinkBack Thread Tools
 
Old 09-16-2011, 06:15 PM
Chris Lumens
 
Default Don't reboot when closing the live installer via the window decoration.

Related: rhbz#705189
---
pyanaconda/gui.py | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/pyanaconda/gui.py b/pyanaconda/gui.py
index e306852..a8c28bd 100755
--- a/pyanaconda/gui.py
+++ b/pyanaconda/gui.py
@@ -1333,7 +1333,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",
@@ -1341,7 +1340,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. """
--
1.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 11:57 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org