ipython/ipython — pull request #1746 by ivanov (2012-05-17 04:52:44+00:00)
Title: Confirm restart (configuration option, and checkbox UI)

Now, one can use the following to not get nagged for confirmation every
kernel restart:

ipython qtconsole --IPythonWidget.confirm_restart=False

As with all configuration setting, setting this permanently requires editing one's profile.

I also added code to expose `confirm_restart` via menu checkbox

Note: There's a limitation to this implementation where the checkbox may not represent the state of confirm_restart for the current tab, but it does get set to the appropriate value if it is ever toggled.

Finally, I did a bunch of typo clean up in the two related files.