Bug 520610 - E-mails (.eml) saved will not open from Finder. r=Mnyromyr.
authorstefanh@inbox.com
Sat, 30 Jan 2010 21:29:23 +0100
changeset 4783 ef2929b58c249dbde5dffbccea07647e2fa74609
parent 4782 39c8905c7279da3cfc41676c09c4351051607400
child 4784 5da147bf90bdfac4430fcfbe0c50d602b18b6a17
push idunknown
push userunknown
push dateunknown
reviewersMnyromyr
bugs520610
Bug 520610 - E-mails (.eml) saved will not open from Finder. r=Mnyromyr.
suite/app/macbuild/Contents/Info.plist.in
--- a/suite/app/macbuild/Contents/Info.plist.in
+++ b/suite/app/macbuild/Contents/Info.plist.in
@@ -159,16 +159,32 @@
 					<string>htm</string>
 					<string>shtml</string>
 					<string>xml</string>
 					<string>xhtml</string>
 					</array>
 				<key>CFBundleTypeIconFile</key>
 				<string>html.icns</string>
 			</dict>
+
+			<dict>
+				<key>CFBundleTypeName</key>
+				<string>@MOZ_APP_DISPLAYNAME@ E-mail</string>
+				<key>CFBundleTypeRole</key>
+				<string>Viewer</string>
+				<key>CFBundleTypeOSTypes</key>
+				<array>
+					<string>TEXT</string>
+					<string>utxt</string>
+				</array>
+				<key>CFBundleTypeExtensions</key>
+				<array>
+					<string>eml</string>
+				</array>
+			</dict>
 			
 	<!--Image Icon image.icns does not yet exist, but associating Images with the application here-->
 			
 			<dict>
 				<key>CFBundleTypeName</key>
 				<string>Image Document</string>
 				<key>CFBundleTypeRole</key>
 				<string>Viewer</string>