File tree 2 files changed +4
-2
lines changed
notebook/static/notebook/js
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -117,6 +117,7 @@ define([
117
117
}
118
118
} ,
119
119
'confirm-restart-kernel-and-run-all-cells' : {
120
+ icon : 'fa-refresh' ,
120
121
cmd : i18n . msg . _ ( 'confirm restart kernel and run all cells' ) ,
121
122
help : i18n . msg . _ ( 'restart the kernel, then re-run the whole notebook (with dialog)' ) ,
122
123
handler : function ( env ) {
Original file line number Diff line number Diff line change @@ -53,15 +53,16 @@ define([
53
53
[ [ new toolbar . Button ( 'jupyter-notebook:run-cell-and-select-next' ,
54
54
{ label : i18n . msg . _ ( 'Run' ) } ) ,
55
55
'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'
57
58
] ,
58
59
'run_int' ] ,
59
60
[ '<add_celltype_list>' ] ,
60
61
[ [ 'jupyter-notebook:show-command-palette' ] ]
61
62
] ;
62
63
this . construct ( grps ) ;
63
64
} ;
64
-
65
+
65
66
MainToolBar . prototype . _pseudo_actions = { } ;
66
67
67
68
// add a cell type drop down to the maintoolbar.
You can’t perform that action at this time.
0 commit comments