Permalink
Browse files

replace "Yes, close all" button text with 'Quit'

The explanation is already in the body of the message, and the 'close all'
is confusing for `%qtconsole` launched consoles, which don't halt
their kernels.
  • Loading branch information...
1 parent bc36c47 commit 05cbf58d253dbbc4319f109958e139b7ec0a52c7 @minrk committed Dec 13, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 IPython/frontend/qt/console/mainwindow.py
View
4 IPython/frontend/qt/console/mainwindow.py
@@ -880,8 +880,8 @@ def closeEvent(self, event):
else:
msg = "Close console, stop kernel, and Quit?"
info = "Kernels not started here (e.g. notebooks) will be left alone."
- closeall = QtGui.QPushButton("&Yes, quit everything", self)
- closeall.setShortcut('Y')
+ closeall = QtGui.QPushButton("&Quit", self)
+ closeall.setShortcut('Q')
box = QtGui.QMessageBox(QtGui.QMessageBox.Question,
title, msg)
box.setInformativeText(info)

0 comments on commit 05cbf58

Please sign in to comment.