Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

#1097 Add close and halt to shortcut menu#3314

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
takluyver merged 4 commits intojupyter:masterfrommfdooom:1097-close-halt
Feb 8, 2018
Merged
Show file tree
Hide file tree
Changes from1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
PrevPrevious commit
NextNext commit
connect close_and_halt via id_actions_dict
  • Loading branch information
@mfdooom
mfdooom committedFeb 7, 2018
commitf5d59ca004bd458b0018830f1081e71da952a697
5 changes: 1 addition & 4 deletionsnotebook/static/notebook/js/menubar.js
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -231,10 +231,6 @@ define([
}
});

this.element.find('#kill_and_exit').click(function () {
that.notebook.close_and_halt();
});

// View
this._add_celltoolbar_list();

Expand All@@ -254,6 +250,7 @@ define([
'#restart_kernel': 'confirm-restart-kernel',
'#restart_clear_output': 'confirm-restart-kernel-and-clear-output',
'#restart_run_all': 'confirm-restart-kernel-and-run-all-cells',
'#close_and_halt': 'close-and-halt',
'#int_kernel': 'interrupt-kernel',
'#cut_cell': 'cut-cell',
'#copy_cell': 'copy-cell',
Expand Down
2 changes: 1 addition & 1 deletionnotebook/templates/notebook.html
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -124,7 +124,7 @@
title="{% trans %}Trust the output of this notebook{% endtrans %}">
<a href="#" >{% trans %}Trust Notebook{% endtrans %}</a></li>
<li class="divider"></li>
<li id="kill_and_exit"
<li id="close_and_halt"
title="{% trans %}Shutdown this notebook's kernel, and close this window{% endtrans %}">
<a href="#" >{% trans %}Close and Halt{% endtrans %}</a></li>
</ul>
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp