Merge pull request #415 from jnugh/ux-manage-servers

Ux manage servers
This commit is contained in:
Yuya Ochiai
2017-02-10 20:19:27 +09:00
committed by GitHub
13 changed files with 519 additions and 35 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',