Add opened files and folders to recent documents menu

This commit is contained in:
Douwe Maan
2015-11-15 20:51:07 +01:00
parent 7c9d32d8d6
commit 948aaa0652
4 changed files with 12 additions and 1 deletions

View File

@@ -281,6 +281,9 @@ class AtomApplication
ipc.on 'write-to-stderr', (event, output) ->
process.stderr.write(output)
ipc.on 'add-recent-document', (event, filename) ->
app.addRecentDocument(filename)
setupDockMenu: ->
if process.platform is 'darwin'
dockMenu = Menu.buildFromTemplate [