Skip to content

Commit a6fe03d

Browse files
committed
Make widget not closable
1 parent d204fb2 commit a6fe03d

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

packages/navigator/src/app/shell.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -90,9 +90,6 @@ export class GatorShell extends Widget {
9090
return;
9191
}
9292

93-
// make the widget closable
94-
widget.title.closable = true;
95-
9693
const dock = this._main;
9794

9895
const { title } = widget;

packages/navigator/src/plugins/navigator/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ const plugin: GatorFrontEndPlugin<void> = {
2727
content.title.caption = 'Conda Packages Manager';
2828
content.title.icon = condaIcon;
2929
const widget = new MainAreaWidget({ content });
30+
widget.title.closable = false;
3031
app.shell.add(widget, 'main');
3132
}
3233
};

0 commit comments

Comments
 (0)