提交 6781d16f 编写于 作者: S SteVen Batten

productize the dialog style setting for desktop

上级 d4d76660
......@@ -268,6 +268,13 @@ import { IJSONSchema } from 'vs/base/common/jsonSchema';
'scope': ConfigurationScope.APPLICATION,
'description': nls.localize('titleBarStyle', "Adjust the appearance of the window title bar. On Linux and Windows, this setting also affects the application and context menu appearances. Changes require a full restart to apply.")
},
'window.dialogStyle': {
'type': 'string',
'enum': ['native', 'custom'],
'default': 'native',
'scope': ConfigurationScope.APPLICATION,
'description': nls.localize('dialogStyle', "Adjust the appearance of dialog windows.")
},
'window.nativeTabs': {
'type': 'boolean',
'default': false,
......
......@@ -59,7 +59,7 @@ export class DialogService implements IDialogService {
}
private get useCustomDialog(): boolean {
return this.configurationService.getValue('workbench.dialogs.customEnabled') === true;
return this.configurationService.getValue('window.dialogStyle') === 'custom';
}
confirm(confirmation: IConfirmation): Promise<IConfirmationResult> {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册