From 5e5139b753b9c24b2671064f3b1eceabb31112d9 Mon Sep 17 00:00:00 2001 From: Machiste Quintana Date: Mon, 22 Jun 2015 17:54:31 -0400 Subject: [PATCH 1/3] Use about for About Atom --- package.json | 1 + src/browser/atom-application.coffee | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 9c68c9f78..cb51e06d9 100644 --- a/package.json +++ b/package.json @@ -76,6 +76,7 @@ "one-light-ui": "1.0.2", "solarized-dark-syntax": "0.38.1", "solarized-light-syntax": "0.22.1", + "about": "0.1.0", "archive-view": "0.58.0", "autocomplete-atom-api": "0.9.2", "autocomplete-css": "0.9.0", diff --git a/src/browser/atom-application.coffee b/src/browser/atom-application.coffee index 669fbadff..1142303cf 100644 --- a/src/browser/atom-application.coffee +++ b/src/browser/atom-application.coffee @@ -192,7 +192,6 @@ class AtomApplication @on 'application:check-for-update', => @autoUpdateManager.check() if process.platform is 'darwin' - @on 'application:about', -> Menu.sendActionToFirstResponder('orderFrontStandardAboutPanel:') @on 'application:bring-all-windows-to-front', -> Menu.sendActionToFirstResponder('arrangeInFront:') @on 'application:hide', -> Menu.sendActionToFirstResponder('hide:') @on 'application:hide-other-applications', -> Menu.sendActionToFirstResponder('hideOtherApplications:') @@ -203,6 +202,7 @@ class AtomApplication @on 'application:minimize', -> @focusedWindow()?.minimize() @on 'application:zoom', -> @focusedWindow()?.maximize() + @openPathOnEvent('application:about', 'atom://about') @openPathOnEvent('application:show-settings', 'atom://config') @openPathOnEvent('application:open-your-config', 'atom://.atom/config') @openPathOnEvent('application:open-your-init-script', 'atom://.atom/init-script') From 0a6dec19d553c271928598c2e224f1579dc3cd8b Mon Sep 17 00:00:00 2001 From: Machiste Quintana Date: Mon, 22 Jun 2015 18:02:43 -0400 Subject: [PATCH 2/3] Add menu entries for Windows and Linux --- menus/linux.cson | 2 ++ menus/win32.cson | 2 ++ 2 files changed, 4 insertions(+) diff --git a/menus/linux.cson b/menus/linux.cson index bbc124321..354a5ec96 100644 --- a/menus/linux.cson +++ b/menus/linux.cson @@ -181,6 +181,8 @@ { label: 'Report Issue', command: 'application:report-issue' } { label: 'Search Issues', command: 'application:search-issues' } { type: 'separator' } + { label: 'About Atom', command: 'application:about' } + { type: 'separator' } ] } ] diff --git a/menus/win32.cson b/menus/win32.cson index 61d847dfe..791e9d68d 100644 --- a/menus/win32.cson +++ b/menus/win32.cson @@ -184,6 +184,8 @@ { label: 'Report Issue', command: 'application:report-issue' } { label: 'Search Issues', command: 'application:search-issues' } { type: 'separator' } + { label: 'About Atom', command: 'application:about' } + { type: 'separator' } ] } ] From 48432cac9425b1298ee848d539a29be835c790d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Machist=C3=A9=20N=2E=20Quintana?= Date: Fri, 24 Jul 2015 19:54:15 -0400 Subject: [PATCH 3/3] :arrow_up: about@1.0.1 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index cb51e06d9..d88526e6c 100644 --- a/package.json +++ b/package.json @@ -76,7 +76,7 @@ "one-light-ui": "1.0.2", "solarized-dark-syntax": "0.38.1", "solarized-light-syntax": "0.22.1", - "about": "0.1.0", + "about": "1.0.1", "archive-view": "0.58.0", "autocomplete-atom-api": "0.9.2", "autocomplete-css": "0.9.0",