Add Menu bar option to add a new team

This commit is contained in:
Jonas Schwabe
2017-01-30 22:16:16 +01:00
parent 872959af97
commit d63fdccb00
5 changed files with 34 additions and 14 deletions

View File

@@ -27,6 +27,11 @@ function createTemplate(mainWindow, config) {
click() {
mainWindow.loadURL('file://' + __dirname + '/browser/settings.html');
}
}, {
label: 'Sign in to Another Server',
click() {
mainWindow.webContents.send('add-server');
}
}, separatorItem, {
role: 'hide'
}, {
@@ -41,6 +46,11 @@ function createTemplate(mainWindow, config) {
click() {
mainWindow.loadURL('file://' + __dirname + '/browser/settings.html');
}
}, {
label: 'Sign in to Another Server',
click() {
mainWindow.webContents.send('add-server');
}
}, separatorItem, {
role: 'quit',
accelerator: 'CmdOrCtrl+Q',