Skip to content

Commit

Permalink
Add discussions to Help menu
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsawicki committed Oct 30, 2014
1 parent ae2f4ac commit 61f75b0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions menus/darwin.cson
Original file line number Diff line number Diff line change
Expand Up @@ -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' }
]
}
Expand Down
1 change: 1 addition & 0 deletions src/browser/atom-application.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 61f75b0

Please sign in to comment.