Merge pull request #292 from mattermost/jasonblais-patch-1

Updates to menu bar
This commit is contained in:
Yuya Ochiai
2016-09-20 01:24:53 +09:00
committed by GitHub

View File

@@ -36,7 +36,7 @@ var createTemplate = function(mainWindow, config) {
}, separatorItem, { }, separatorItem, {
role: 'quit' role: 'quit'
}] : [{ }] : [{
label: 'Settings', label: 'Settings...',
accelerator: 'CmdOrCtrl+,', accelerator: 'CmdOrCtrl+,',
click: function(item, focusedWindow) { click: function(item, focusedWindow) {
mainWindow.loadURL('file://' + __dirname + '/browser/settings.html'); mainWindow.loadURL('file://' + __dirname + '/browser/settings.html');
@@ -229,9 +229,9 @@ var createTemplate = function(mainWindow, config) {
template.push({ template.push({
label: '&Help', label: '&Help',
submenu: [{ submenu: [{
label: `${app_name} Docs`, label: `Learn More...`,
click: function() { click: function() {
electron.shell.openExternal('http://docs.mattermost.com'); electron.shell.openExternal('https://docs.mattermost.com/help/apps/desktop-guide.html');
} }
}, { }, {
type: 'separator' type: 'separator'