From 61f75b0764ac5e9a3ca8584581fdedf017dce48c Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 29 Oct 2014 09:23:49 -0700 Subject: [PATCH] Add discussions to Help menu --- menus/darwin.cson | 1 + src/browser/atom-application.coffee | 1 + 2 files changed, 2 insertions(+) diff --git a/menus/darwin.cson b/menus/darwin.cson index 9ad0fa9fa..7cf5bccc8 100644 --- a/menus/darwin.cson +++ b/menus/darwin.cson @@ -190,6 +190,7 @@ submenu: [ { label: 'Terms of Use', command: 'application:open-terms-of-use' } { label: 'Documentation', command: 'application:open-documentation' } + { label: 'Community Discussions', command: 'application:open-discussions' } { type: 'separator' } ] } diff --git a/src/browser/atom-application.coffee b/src/browser/atom-application.coffee index 4eb6dc401..abf90ca31 100644 --- a/src/browser/atom-application.coffee +++ b/src/browser/atom-application.coffee @@ -155,6 +155,7 @@ class AtomApplication atomWindow?.browserWindow.inspectElement(x, y) @on 'application:open-documentation', -> require('shell').openExternal('https://atom.io/docs/latest/?app') + @on 'application:open-discussions', -> require('shell').openExternal('https://discuss.atom.io') @on 'application:open-terms-of-use', -> require('shell').openExternal('https://atom.io/terms') @on 'application:install-update', -> @autoUpdateManager.install() @on 'application:check-for-update', => @autoUpdateManager.check()