Skip to content

Commit 0bdc776

Browse files
authored
Merge pull request microsoft#28303 from jens1o/jens1o-theme-settings-to-gear
add more settings to gear menu
2 parents 8bd339f + 29ed566 commit 0bdc776

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • src/vs/workbench/parts/update/electron-browser

src/vs/workbench/parts/update/electron-browser/update.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,8 @@ export class LightUpdateContribution implements IGlobalActivity {
282282
private static readonly showCommandsId = 'workbench.action.showCommands';
283283
private static readonly openSettingsId = 'workbench.action.openGlobalSettings';
284284
private static readonly openKeybindingsId = 'workbench.action.openGlobalKeybindings';
285+
private static readonly selectColorThemeId = 'workbench.action.selectTheme';
286+
private static readonly selectIconThemeId = 'workbench.action.selectIconTheme';
285287

286288
get id() { return 'vs.update'; }
287289
get name() { return ''; }
@@ -324,6 +326,9 @@ export class LightUpdateContribution implements IGlobalActivity {
324326
new Action(LightUpdateContribution.openSettingsId, nls.localize('settings', "Settings"), null, true, () => this.commandService.executeCommand(LightUpdateContribution.openSettingsId)),
325327
new Action(LightUpdateContribution.openKeybindingsId, nls.localize('keyboardShortcuts', "Keyboard Shortcuts"), null, true, () => this.commandService.executeCommand(LightUpdateContribution.openKeybindingsId)),
326328
new Separator(),
329+
new Action(LightUpdateContribution.selectColorThemeId, nls.localize('selectTheme.label', "Color Theme"), null, true, () => this.commandService.executeCommand(LightUpdateContribution.selectColorThemeId)),
330+
new Action(LightUpdateContribution.selectIconThemeId, nls.localize('themes.selectIconTheme.label', "File Icon Theme"), null, true, () => this.commandService.executeCommand(LightUpdateContribution.selectIconThemeId)),
331+
new Separator(),
327332
this.getUpdateAction()
328333
];
329334
}

0 commit comments

Comments
 (0)