Skip to content

Commit

Permalink
show sync actions in a separate group above update
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy081 committed Sep 15, 2019
1 parent 317ed7e commit 3fe9a42
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/vs/workbench/contrib/update/browser/update.ts
Expand Up @@ -400,7 +400,7 @@ export class UpdateContribution extends Disposable implements IWorkbenchContribu
private registerGlobalActivityActions(): void {
CommandsRegistry.registerCommand('update.check', () => this.updateService.checkForUpdates({ windowId: this.environmentService.configuration.windowId }));
MenuRegistry.appendMenuItem(MenuId.GlobalActivity, {
group: '5_update',
group: '6_update',
command: {
id: 'update.check',
title: nls.localize('checkForUpdates', "Check for Updates...")
Expand All @@ -410,7 +410,7 @@ export class UpdateContribution extends Disposable implements IWorkbenchContribu

CommandsRegistry.registerCommand('update.checking', () => { });
MenuRegistry.appendMenuItem(MenuId.GlobalActivity, {
group: '5_update',
group: '6_update',
command: {
id: 'update.checking',
title: nls.localize('checkingForUpdates', "Checking for Updates..."),
Expand All @@ -421,7 +421,7 @@ export class UpdateContribution extends Disposable implements IWorkbenchContribu

CommandsRegistry.registerCommand('update.downloadNow', () => this.updateService.downloadUpdate());
MenuRegistry.appendMenuItem(MenuId.GlobalActivity, {
group: '5_update',
group: '6_update',
command: {
id: 'update.downloadNow',
title: nls.localize('download update', "Download Update")
Expand All @@ -431,7 +431,7 @@ export class UpdateContribution extends Disposable implements IWorkbenchContribu

CommandsRegistry.registerCommand('update.downloading', () => { });
MenuRegistry.appendMenuItem(MenuId.GlobalActivity, {
group: '5_update',
group: '6_update',
command: {
id: 'update.downloading',
title: nls.localize('DownloadingUpdate', "Downloading Update..."),
Expand All @@ -442,7 +442,7 @@ export class UpdateContribution extends Disposable implements IWorkbenchContribu

CommandsRegistry.registerCommand('update.install', () => this.updateService.applyUpdate());
MenuRegistry.appendMenuItem(MenuId.GlobalActivity, {
group: '5_update',
group: '6_update',
command: {
id: 'update.install',
title: nls.localize('installUpdate...', "Install Update...")
Expand All @@ -452,7 +452,7 @@ export class UpdateContribution extends Disposable implements IWorkbenchContribu

CommandsRegistry.registerCommand('update.updating', () => { });
MenuRegistry.appendMenuItem(MenuId.GlobalActivity, {
group: '5_update',
group: '6_update',
command: {
id: 'update.updating',
title: nls.localize('installingUpdate', "Installing Update..."),
Expand All @@ -463,7 +463,7 @@ export class UpdateContribution extends Disposable implements IWorkbenchContribu

CommandsRegistry.registerCommand('update.restart', () => this.updateService.quitAndInstall());
MenuRegistry.appendMenuItem(MenuId.GlobalActivity, {
group: '5_update',
group: '6_update',
command: {
id: 'update.restart',
title: nls.localize('restartToUpdate', "Restart to Update")
Expand Down

0 comments on commit 3fe9a42

Please sign in to comment.