Browse Source

Update id strings

Dave Willmer 9 years ago
parent
commit
d13ef611e1
2 changed files with 3 additions and 3 deletions
  1. 2 2
      src/fileopener/plugin.ts
  2. 1 1
      src/terminal/plugin.ts

+ 2 - 2
src/fileopener/plugin.ts

@@ -50,7 +50,7 @@ function resolve(container: Container): Promise<void> {
 
       // Create a command to add a new empty text file.
       // This requires an id and an instance of a command object.
-      let newTextFileId = 'jupyter-plugins:new:text-file';
+      let newTextFileId = 'file-operations:new-text-file';
       let newTextFileCommand = new SimpleCommand({
         handler: () => {
           browser.newUntitled('file', '.txt').then(
@@ -82,7 +82,7 @@ function resolve(container: Container): Promise<void> {
       ]);
 
       // Add the command for a new notebook.
-      let newNotebookId = 'jupyter-plugins:new:notebook';
+      let newNotebookId = 'file-operations:new-notebook';
       let newNotebookCommand = new SimpleCommand({
         handler: () => {
           browser.newUntitled('notebook').then(

+ 1 - 1
src/terminal/plugin.ts

@@ -31,7 +31,7 @@ function resolve(container: Container): Promise<void> {
     requires: [IAppShell, ICommandPalette, ICommandRegistry, IShortcutManager],
     create: (shell: IAppShell, palette: ICommandPalette, registry: ICommandRegistry, shortcuts: IShortcutManager) => {
 
-      let newTerminalId = 'jupyter-plugins:new:terminal';
+      let newTerminalId = 'terminal:new';
       let newTerminalCommand = new SimpleCommand({
         handler: () => {
           let term = new TerminalWidget();