Skip to content

Commit

Permalink
ofas custom options and logo
Browse files Browse the repository at this point in the history
  • Loading branch information
arnthor-agustsson committed May 2, 2024
1 parent 61e1c42 commit a127f66
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 17 deletions.
2 changes: 1 addition & 1 deletion dev_mode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"@jupyterlab/rendermime-interfaces": "~3.9.6",
"@jupyterlab/running": "~4.1.6",
"@jupyterlab/running-extension": "~4.1.6",
"@jupyterlab/services": "../packages/services",
"@jupyterlab/services": "~7.1.6",
"@jupyterlab/settingeditor": "~4.1.6",
"@jupyterlab/settingeditor-extension": "~4.1.6",
"@jupyterlab/settingregistry": "~4.1.6",
Expand Down
8 changes: 4 additions & 4 deletions packages/mainmenu-extension/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -374,8 +374,8 @@ function createFileMenu(
commands.addCommand(CommandIDs.shutdown, {
label: trans.__('Shut Down'),
caption: trans.__('Shut down JupyterLab'),
isVisible: () => menu.quitEntry,
isEnabled: () => menu.quitEntry,
isVisible: () => false,
isEnabled: () => false,
execute: () => {
return showDialog({
title: trans.__('Shutdown confirmation'),
Expand Down Expand Up @@ -442,8 +442,8 @@ function createFileMenu(
commands.addCommand(CommandIDs.logout, {
label: trans.__('Log Out'),
caption: trans.__('Log out of JupyterLab'),
isVisible: () => menu.quitEntry,
isEnabled: () => menu.quitEntry,
isVisible: () => false,
isEnabled: () => false,
execute: () => {
router.navigate('/logout', { hard: true });
}
Expand Down
15 changes: 3 additions & 12 deletions packages/ui-components/style/icons/jupyter/jupyter.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit a127f66

Please sign in to comment.