mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-09 09:38:07 +08:00
fix(preferences): add window title to preferences
Fixes T3458 Preferences panel shows up as "Electron" in Window menu
This commit is contained in:
parent
550a7e0a8c
commit
13629f57dc
2 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,7 @@ module.exports =
|
|||
ipc.on 'open-preferences', (detail) ->
|
||||
ReactRemote.openWindowForComponent(Preferences, {
|
||||
tag: 'preferences'
|
||||
title: "Preferences"
|
||||
width: 520
|
||||
resizable: false
|
||||
autosize: true
|
||||
|
|
1
src/react-remote/react-remote-parent.js
vendored
1
src/react-remote/react-remote-parent.js
vendored
|
@ -211,6 +211,7 @@ var openWindowForComponent = function(Component, options) {
|
|||
slashes: true
|
||||
});
|
||||
var thinWindow = new BrowserWindow({
|
||||
title: options.title || "",
|
||||
frame: process.platform !== 'darwin',
|
||||
width: options.width || 800,
|
||||
height: options.height || 600,
|
||||
|
|
Loading…
Reference in a new issue