From ea3fa2e3db78208da543ece8ffb0603e54811aa4 Mon Sep 17 00:00:00 2001 From: Sandeep Somavarapu Date: Fri, 9 Feb 2018 18:11:24 +0100 Subject: [PATCH] Fix compilation --- src/vs/workbench/browser/parts/views/customViewPanel.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/vs/workbench/browser/parts/views/customViewPanel.ts b/src/vs/workbench/browser/parts/views/customViewPanel.ts index 9378f5dbb5a..0b57e4b2db0 100644 --- a/src/vs/workbench/browser/parts/views/customViewPanel.ts +++ b/src/vs/workbench/browser/parts/views/customViewPanel.ts @@ -17,6 +17,7 @@ import { fillInActions, ContextAwareMenuItemActionItem } from 'vs/platform/actio import { IContextKeyService } from 'vs/platform/contextkey/common/contextkey'; import { ICustomViewsService, ITreeViewer } from 'vs/workbench/common/views'; import { IViewletViewOptions, IViewOptions, ViewsViewletPanel } from 'vs/workbench/browser/parts/views/viewsViewlet'; +import { IConfigurationService } from 'vs/platform/configuration/common/configuration'; export class CustomTreeViewPanel extends ViewsViewletPanel { @@ -29,9 +30,10 @@ export class CustomTreeViewPanel extends ViewsViewletPanel { @IKeybindingService keybindingService: IKeybindingService, @IContextMenuService contextMenuService: IContextMenuService, @IInstantiationService private instantiationService: IInstantiationService, + @IConfigurationService configurationService: IConfigurationService, @ICustomViewsService customViewsService: ICustomViewsService, ) { - super({ ...(options as IViewOptions), ariaHeaderLabel: options.name }, keybindingService, contextMenuService); + super({ ...(options as IViewOptions), ariaHeaderLabel: options.name }, keybindingService, contextMenuService, configurationService); this.treeViewer = customViewsService.getTreeViewer(this.id); this.menus = this.instantiationService.createInstance(Menus, this.id); this.menus.onDidChangeTitle(() => this.updateActions(), this, this.disposables);