Skip to content

Commit

Permalink
Make widget not closable
Browse files Browse the repository at this point in the history
  • Loading branch information
fcollonval committed Nov 7, 2020
1 parent d204fb2 commit a6fe03d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions packages/navigator/src/app/shell.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,6 @@ export class GatorShell extends Widget {
return;
}

// make the widget closable
widget.title.closable = true;

const dock = this._main;

const { title } = widget;
Expand Down
1 change: 1 addition & 0 deletions packages/navigator/src/plugins/navigator/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ const plugin: GatorFrontEndPlugin<void> = {
content.title.caption = 'Conda Packages Manager';
content.title.icon = condaIcon;
const widget = new MainAreaWidget({ content });
widget.title.closable = false;
app.shell.add(widget, 'main');
}
};
Expand Down

0 comments on commit a6fe03d

Please sign in to comment.