Re: [PATCH f16-branch] Don't reboot when closing the live installer via the window decoration.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



It's a hair tricky in that it's the only success path that won't return
control to anaconda.__main__ but there's no specific concern with that
as of now.

Ack.

On Fri, 2011-09-16 at 14:15 -0400, Chris Lumens wrote:
> 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. """


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


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux