diff --git a/internal_packages/preferences/lib/main.cjsx b/internal_packages/preferences/lib/main.cjsx index 1689adf1c..d185e6a21 100644 --- a/internal_packages/preferences/lib/main.cjsx +++ b/internal_packages/preferences/lib/main.cjsx @@ -46,6 +46,7 @@ module.exports = ipc.on 'open-preferences', (detail) -> ReactRemote.openWindowForComponent(Preferences, { tag: 'preferences' + title: "Preferences" width: 520 resizable: false autosize: true diff --git a/src/react-remote/react-remote-parent.js b/src/react-remote/react-remote-parent.js index 96ab8d093..f277ffb98 100644 --- a/src/react-remote/react-remote-parent.js +++ b/src/react-remote/react-remote-parent.js @@ -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,