mirror of
https://github.com/atom/atom.git
synced 2026-04-28 03:01:47 -04:00
Add opened files and folders to recent documents menu
This commit is contained in:
@@ -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 [
|
||||
|
||||
Reference in New Issue
Block a user