From d663a43b279f501d6769a2a2dad6f9cb115894b3 Mon Sep 17 00:00:00 2001 From: Nounours Heureux Date: Fri, 3 Jul 2015 19:42:25 +0200 Subject: [PATCH] Different title for file dialogs and folder dialogs. --- src/browser/atom-application.coffee | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/browser/atom-application.coffee b/src/browser/atom-application.coffee index 6b2651ac1..0ad64cddb 100644 --- a/src/browser/atom-application.coffee +++ b/src/browser/atom-application.coffee @@ -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