changeset 67451:a8599801089f

Add CFBundleURLTypes key and data. Make NSServices open-selection the first entry.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Sat, 10 Dec 2005 01:48:39 +0000
parents fa74deeadab8
children a7be6d5bee43
files mac/Emacs.app/Contents/Info.plist
diffstat 1 files changed, 16 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/mac/Emacs.app/Contents/Info.plist	Sat Dec 10 01:48:21 2005 +0000
+++ b/mac/Emacs.app/Contents/Info.plist	Sat Dec 10 01:48:39 2005 +0000
@@ -35,7 +35,18 @@
 	<string>EMAx</string>
 	<key>CFBundleVersion</key>
 	<string>1.1</string>
-	<key>NSServices</key>
+	<key>CFBundleURLTypes</key>
+	<array>
+		<dict>
+			<key>CFBundleURLName</key>
+			<string>Email Address URL</string>
+			<key>CFBundleURLSchemes</key>
+			<array>
+				<string>mailto</string>
+			</array>
+		</dict>
+	</array>
+  	<key>NSServices</key>
 	<array>
 		<dict>
 			<key>NSKeyEquivalent</key>
@@ -43,10 +54,10 @@
 			<key>NSMenuItem</key>
 			<dict>
 				<key>default</key>
-				<string>Emacs/Open Selected File</string>
+				<string>Emacs/New Buffer Containing Selection</string>
 			</dict>
 			<key>NSMessage</key>
-			<string>open-file</string>
+			<string>open-selection</string>
 			<key>NSPortName</key>
 			<string>Emacs</string>
 			<key>NSReturnTypes</key>
@@ -62,10 +73,10 @@
 			<key>NSMenuItem</key>
 			<dict>
 				<key>default</key>
-				<string>Emacs/New Buffer Containing Selection</string>
+				<string>Emacs/Open Selected File</string>
 			</dict>
 			<key>NSMessage</key>
-			<string>open-selection</string>
+			<string>open-file</string>
 			<key>NSPortName</key>
 			<string>Emacs</string>
 			<key>NSReturnTypes</key>