Skip to content

Commit 9a3e8d2

Browse files
committed
panel -> view
fixes #44044
1 parent a0b5452 commit 9a3e8d2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/vs/workbench/browser/parts/views/panelViewlet.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ export interface IViewletPanelOptions extends IPanelOptions {
4949

5050
export abstract class ViewletPanel extends Panel {
5151

52-
private static AlwaysShowActionsConfig = 'workbench.panel.alwaysShowActions';
52+
private static AlwaysShowActionsConfig = 'workbench.view.alwaysShowHeaderActions';
5353

5454
private _onDidFocus = new Emitter<void>();
5555
readonly onDidFocus: Event<void> = this._onDidFocus.event;
@@ -114,7 +114,7 @@ export abstract class ViewletPanel extends Panel {
114114
}
115115

116116
protected updateActionsVisibility(): void {
117-
const shouldAlwaysShowActions = this.configurationService.getValue<boolean>('workbench.panel.alwaysShowActions');
117+
const shouldAlwaysShowActions = this.configurationService.getValue<boolean>('workbench.view.alwaysShowHeaderActions');
118118
toggleClass(this.headerContainer, 'actions-always-visible', shouldAlwaysShowActions);
119119
}
120120

src/vs/workbench/electron-browser/main.contribution.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,10 +252,10 @@ configurationRegistry.registerConfiguration({
252252
'default': true,
253253
'description': nls.localize('activityBarVisibility', "Controls the visibility of the activity bar in the workbench.")
254254
},
255-
'workbench.panel.alwaysShowActions': {
255+
'workbench.view.alwaysShowHeaderActions': {
256256
'type': 'boolean',
257257
'default': false,
258-
'description': nls.localize('panelActionVisibility', "Controls the visibility of side panel tree view actions. Panel actions may either be always visible, or only visible when that panel is focused or hovered over.")
258+
'description': nls.localize('viewVisibility', "Controls the visibility of view header actions. View header actions may either be always visible, or only visible when that view is focused or hovered over.")
259259
},
260260
'workbench.fontAliasing': {
261261
'type': 'string',

0 commit comments

Comments
 (0)