Skip to content

Commit

Permalink
ofas custom options and logo (#23)
Browse files Browse the repository at this point in the history
  • Loading branch information
arnthor-agustsson authored May 2, 2024
1 parent 61e1c42 commit bfa9282
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 16 deletions.
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 bfa9282

Please sign in to comment.