mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-03 23:06:49 +01:00
main - some renames of services
This commit is contained in:
@@ -32,7 +32,7 @@ export class ProxyAuthHandler {
|
||||
private disposables: IDisposable[] = [];
|
||||
|
||||
constructor(
|
||||
@IWindowsMainService private windowsService: IWindowsMainService
|
||||
@IWindowsMainService private windowsMainService: IWindowsMainService
|
||||
) {
|
||||
const onLogin = fromNodeEventEmitter<LoginEvent>(app, 'login', (event, webContents, req, authInfo, cb) => ({ event, webContents, req, authInfo, cb }));
|
||||
onLogin(this.onLogin, this, this.disposables);
|
||||
@@ -59,7 +59,7 @@ export class ProxyAuthHandler {
|
||||
title: 'VS Code'
|
||||
};
|
||||
|
||||
const focusedWindow = this.windowsService.getFocusedWindow();
|
||||
const focusedWindow = this.windowsMainService.getFocusedWindow();
|
||||
|
||||
if (focusedWindow) {
|
||||
opts.parent = focusedWindow.win;
|
||||
|
||||
Reference in New Issue
Block a user