File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
notebook/static/notebook/js Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ define([
117117 }
118118 } ,
119119 'confirm-restart-kernel-and-run-all-cells' : {
120+ icon : 'fa-recycle' ,
120121 cmd : i18n . msg . _ ( 'confirm restart kernel and run all cells' ) ,
121122 help : i18n . msg . _ ( 'restart the kernel, then re-run the whole notebook (with dialog)' ) ,
122123 handler : function ( env ) {
Original file line number Diff line number Diff line change @@ -53,15 +53,16 @@ define([
5353 [ [ new toolbar . Button ( 'jupyter-notebook:run-cell-and-select-next' ,
5454 { label : i18n . msg . _ ( 'Run' ) } ) ,
5555 'jupyter-notebook:interrupt-kernel' ,
56- 'jupyter-notebook:confirm-restart-kernel'
56+ 'jupyter-notebook:confirm-restart-kernel' ,
57+ 'jupyter-notebook:confirm-restart-kernel-and-run-all-cells'
5758 ] ,
5859 'run_int' ] ,
5960 [ '<add_celltype_list>' ] ,
6061 [ [ 'jupyter-notebook:show-command-palette' ] ]
6162 ] ;
6263 this . construct ( grps ) ;
6364 } ;
64-
65+
6566 MainToolBar . prototype . _pseudo_actions = { } ;
6667
6768 // add a cell type drop down to the maintoolbar.
You can’t perform that action at this time.
0 commit comments