Change window title to the one that's set from the platform for the current channel

This commit is contained in:
Kolja Lampe
2016-08-12 20:49:43 +02:00
parent 00f646983e
commit f01b6a98f2
4 changed files with 17 additions and 1 deletions

View File

@@ -229,6 +229,11 @@ app.on('ready', function() {
}
}
});
ipcMain.on('update-title', function(event, arg) {
mainWindow.setTitle(arg.title);
});
if (shouldShowTrayIcon()) {
// set up tray icon
trayIcon = new Tray(trayImages.normal);