Different title for file dialogs and folder dialogs.

This commit is contained in:
Nounours Heureux
2015-07-03 19:42:25 +02:00
parent 09a1086558
commit d663a43b27

View File

@@ -573,7 +573,10 @@ class AtomApplication
openOptions =
properties: properties.concat(['multiSelections', 'createDirectory'])
title: 'Open'
title: switch type
when 'file' then 'Open File'
when 'folder' then 'Open Folder'
when 'all' then 'Open'
if process.platform is 'linux'
if projectPath = @lastFocusedWindow?.projectPath